diff --git a/generation_config.yaml b/generation_config.yaml index 1c0bd81d92dc..cea4b1395c83 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ -gapic_generator_version: 2.68.0 -googleapis_commitish: cd090841ab172574e740c214c99df00aef9c0dee +gapic_generator_version: 2.69.0 +googleapis_commitish: b6669d761c84c04682270ae5610106eb81ce1706 libraries_bom_version: 26.79.0 libraries: - api_shortname: accessapproval @@ -2997,3 +2997,4 @@ libraries: GAPICs: - proto_path: google/cloud/workstations/v1 - proto_path: google/cloud/workstations/v1beta + diff --git a/java-accessapproval/.OwlBot-hermetic.yaml b/java-accessapproval/.OwlBot-hermetic.yaml index e48afc86d349..3525c66b63d7 100644 --- a/java-accessapproval/.OwlBot-hermetic.yaml +++ b/java-accessapproval/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-accessapproval/samples/snippets/generated" deep-preserve-regex: +- "/java-accessapproval/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-accessapproval/google-cloud-accessapproval/src/test/java/com/google/cloud/accessapproval/v1/it" deep-copy-regex: diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md index 097ee8d1a1d5..6f0aa9b0ded5 100644 --- a/java-accessapproval/README.md +++ b/java-accessapproval/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-accessapproval - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-accessapproval:2.89.0' +implementation 'com.google.cloud:google-cloud-accessapproval:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-accessapproval/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/Version.java b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/Version.java index 50a9f327cebb..7ea4e04f4acd 100644 --- a/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/Version.java +++ b/java-accessapproval/google-cloud-accessapproval/src/main/java/com/google/cloud/accessapproval/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-accessapproval:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-accesscontextmanager/.OwlBot-hermetic.yaml b/java-accesscontextmanager/.OwlBot-hermetic.yaml index 3a4cdc7f8dd6..8beae11abba6 100644 --- a/java-accesscontextmanager/.OwlBot-hermetic.yaml +++ b/java-accesscontextmanager/.OwlBot-hermetic.yaml @@ -18,6 +18,7 @@ deep-remove-regex: - "/java-accesscontextmanager/samples/snippets/generated" deep-preserve-regex: +- "/java-accesscontextmanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-accesscontextmanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-accesscontextmanager/README.md b/java-accesscontextmanager/README.md index deff21cbab1a..30c019725b7b 100644 --- a/java-accesscontextmanager/README.md +++ b/java-accesscontextmanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-identity-accesscontextmanager - 1.89.0 + 1.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-identity-accesscontextmanager:1.89.0' +implementation 'com.google.cloud:google-identity-accesscontextmanager:1.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.89.0" +libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-identity-accesscontextmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/Version.java b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/Version.java index 42be2582a56e..05c66c7a7328 100644 --- a/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/Version.java +++ b/java-accesscontextmanager/google-identity-accesscontextmanager/src/main/java/com/google/identity/accesscontextmanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-identity-accesscontextmanager:current} - static final String VERSION = "1.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-admanager/.OwlBot-hermetic.yaml b/java-admanager/.OwlBot-hermetic.yaml index bbf57d3062d3..5fdb30178b52 100644 --- a/java-admanager/.OwlBot-hermetic.yaml +++ b/java-admanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-admanager/samples/snippets/generated" deep-preserve-regex: +- "/java-admanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-admanager/ad-manager-.*/src/test/java/com/google/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-admanager/README.md b/java-admanager/README.md index 0637cfc4217d..9e1141f349fd 100644 --- a/java-admanager/README.md +++ b/java-admanager/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.api-ads ad-manager - 0.47.0 + 0.48.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:ad-manager:0.47.0' +implementation 'com.google.api-ads:ad-manager:0.48.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.47.0" +libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.48.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/ad-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-admanager/ad-manager/src/main/java/com/google/ads/admanager/v1/stub/Version.java b/java-admanager/ad-manager/src/main/java/com/google/ads/admanager/v1/stub/Version.java index 5da95e4dac91..015c164f7060 100644 --- a/java-admanager/ad-manager/src/main/java/com/google/ads/admanager/v1/stub/Version.java +++ b/java-admanager/ad-manager/src/main/java/com/google/ads/admanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:ad-manager:current} - static final String VERSION = "0.48.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-advisorynotifications/.OwlBot-hermetic.yaml b/java-advisorynotifications/.OwlBot-hermetic.yaml index ac2508b427bc..727f85a1b098 100644 --- a/java-advisorynotifications/.OwlBot-hermetic.yaml +++ b/java-advisorynotifications/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-advisorynotifications/samples/snippets/generated" deep-preserve-regex: +- "/java-advisorynotifications/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-advisorynotifications/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-advisorynotifications/README.md b/java-advisorynotifications/README.md index e9f719781c9b..7f2f85e1334b 100644 --- a/java-advisorynotifications/README.md +++ b/java-advisorynotifications/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-advisorynotifications - 0.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-advisorynotifications:0.77.0' +implementation 'com.google.cloud:google-cloud-advisorynotifications:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.78.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-advisorynotifications/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/Version.java b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/Version.java index 5dd52629c6f0..590f855cd197 100644 --- a/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/Version.java +++ b/java-advisorynotifications/google-cloud-advisorynotifications/src/main/java/com/google/cloud/advisorynotifications/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-advisorynotifications:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-aiplatform/README.md b/java-aiplatform/README.md index 2ecd1ae76a82..b9f73c82ea26 100644 --- a/java-aiplatform/README.md +++ b/java-aiplatform/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-aiplatform - 3.89.0 + 3.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-aiplatform:3.89.0' +implementation 'com.google.cloud:google-cloud-aiplatform:3.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-aiplatform" % "3.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-aiplatform/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/Version.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/Version.java index bb423a628540..243836e14674 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/Version.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-aiplatform:current} - static final String VERSION = "3.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/Version.java b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/Version.java index 210b8712e934..d9e12f987c71 100644 --- a/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/Version.java +++ b/java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-aiplatform:current} - static final String VERSION = "3.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-alloydb-connectors/.OwlBot-hermetic.yaml b/java-alloydb-connectors/.OwlBot-hermetic.yaml index 2ad69b20a09a..62427765e55b 100644 --- a/java-alloydb-connectors/.OwlBot-hermetic.yaml +++ b/java-alloydb-connectors/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-alloydb-connectors/samples/snippets/generated" deep-preserve-regex: +- "/java-alloydb-connectors/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-alloydb-connectors/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-alloydb-connectors/README.md b/java-alloydb-connectors/README.md index 70685f0384e7..42449813c3e0 100644 --- a/java-alloydb-connectors/README.md +++ b/java-alloydb-connectors/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb-connectors - 0.66.0 + 0.67.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.66.0' +implementation 'com.google.cloud:google-cloud-alloydb-connectors:0.67.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.66.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb-connectors" % "0.67.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb-connectors/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb-connectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.66.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb-connectors/0.67.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-alloydb/.OwlBot-hermetic.yaml b/java-alloydb/.OwlBot-hermetic.yaml index 0d85032ca1f3..1e7f8ec35919 100644 --- a/java-alloydb/.OwlBot-hermetic.yaml +++ b/java-alloydb/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-alloydb/samples/snippets/generated" deep-preserve-regex: +- "/java-alloydb/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-alloydb/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-alloydb/README.md b/java-alloydb/README.md index ccb918c7528b..38617cdc0490 100644 --- a/java-alloydb/README.md +++ b/java-alloydb/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-alloydb - 0.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-alloydb:0.77.0' +implementation 'com.google.cloud:google-cloud-alloydb:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-alloydb" % "0.78.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-alloydb/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-alloydb.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-alloydb/0.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/Version.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/Version.java index 1d6d51ba9ce4..b6b7d9e92f9c 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/Version.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-alloydb:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/Version.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/Version.java index 5d3727bd22db..952ca05c6d0c 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/Version.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-alloydb:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/Version.java b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/Version.java index 954ff4a09041..3bebd85dd1e2 100644 --- a/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/Version.java +++ b/java-alloydb/google-cloud-alloydb/src/main/java/com/google/cloud/alloydb/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-alloydb:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-analytics-admin/README.md b/java-analytics-admin/README.md index 668354c68f1d..1e2e11fc551e 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-admin - 0.98.0 + 0.99.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-admin:0.98.0' +implementation 'com.google.analytics:google-analytics-admin:0.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.98.0" +libraryDependencies += "com.google.analytics" % "google-analytics-admin" % "0.99.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.99.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/Version.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/Version.java index 8e55d243cdd6..85baf4576bcb 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/Version.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-analytics-admin:current} - static final String VERSION = "0.99.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/Version.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/Version.java index a597ca8a0619..4380a9865ca5 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/Version.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-analytics-admin:current} - static final String VERSION = "0.99.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md index 25cef4a8ded6..d48208566e93 100644 --- a/java-analytics-data/README.md +++ b/java-analytics-data/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.analytics google-analytics-data - 0.99.0 + 0.100.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.analytics:google-analytics-data:0.99.0' +implementation 'com.google.analytics:google-analytics-data:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.99.0" +libraryDependencies += "com.google.analytics" % "google-analytics-data" % "0.100.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-analytics-data/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-data.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-data/0.100.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/Version.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/Version.java index 9b6040bed902..0e4277ed5312 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/Version.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-analytics-data:current} - static final String VERSION = "0.100.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/Version.java b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/Version.java index 616b16d9d9a3..8dc90fa3fb74 100644 --- a/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/Version.java +++ b/java-analytics-data/google-analytics-data/src/main/java/com/google/analytics/data/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-analytics-data:current} - static final String VERSION = "0.100.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-analyticshub/.OwlBot-hermetic.yaml b/java-analyticshub/.OwlBot-hermetic.yaml index 16bd7686a712..572ff66933b5 100644 --- a/java-analyticshub/.OwlBot-hermetic.yaml +++ b/java-analyticshub/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-analyticshub/samples/snippets/generated" deep-preserve-regex: +- "/java-analyticshub/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-analyticshub/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-analyticshub/README.md b/java-analyticshub/README.md index 1a6fa3be9f21..eb376ffca1ed 100644 --- a/java-analyticshub/README.md +++ b/java-analyticshub/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-analyticshub - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-analyticshub:0.85.0' +implementation 'com.google.cloud:google-cloud-analyticshub:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-analyticshub" % "0.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-analyticshub/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-analyticshub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-analyticshub/0.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/Version.java b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/Version.java index 80a26e2eebff..f00ada9dfa61 100644 --- a/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/Version.java +++ b/java-analyticshub/google-cloud-analyticshub/src/main/java/com/google/cloud/bigquery/analyticshub/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-analyticshub:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-api-gateway/.OwlBot-hermetic.yaml b/java-api-gateway/.OwlBot-hermetic.yaml index d533c156c462..ddf48c8c99c6 100644 --- a/java-api-gateway/.OwlBot-hermetic.yaml +++ b/java-api-gateway/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-api-gateway/google-.*/src" deep-preserve-regex: +- "/java-api-gateway/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-api-gateway/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-api-gateway/README.md b/java-api-gateway/README.md index 7e235898dd35..4f08d4d634f4 100644 --- a/java-api-gateway/README.md +++ b/java-api-gateway/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-api-gateway - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.88.0' +implementation 'com.google.cloud:google-cloud-api-gateway:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-api-gateway/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-api-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-api-gateway/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/Version.java b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/Version.java index e4665946e7f7..e86930241cf9 100644 --- a/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/Version.java +++ b/java-api-gateway/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-api-gateway:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-apigee-connect/README.md b/java-apigee-connect/README.md index a55b33b756f3..8d29e4d25ec3 100644 --- a/java-apigee-connect/README.md +++ b/java-apigee-connect/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apigee-connect - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-connect:2.88.0' +implementation 'com.google.cloud:google-cloud-apigee-connect:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-connect" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apigee-connect/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-connect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-connect/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/Version.java b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/Version.java index 6a1981588ad4..aedb6f6802bd 100644 --- a/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/Version.java +++ b/java-apigee-connect/google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-apigee-connect:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-apigee-registry/.OwlBot-hermetic.yaml b/java-apigee-registry/.OwlBot-hermetic.yaml index 930a6b531f95..d634cee6cbe5 100644 --- a/java-apigee-registry/.OwlBot-hermetic.yaml +++ b/java-apigee-registry/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-apigee-registry/samples/snippets/generated" deep-preserve-regex: +- "/java-apigee-registry/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-apigee-registry/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-apigee-registry/README.md b/java-apigee-registry/README.md index 3b381bb29bc0..421ea4ea8b4b 100644 --- a/java-apigee-registry/README.md +++ b/java-apigee-registry/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apigee-registry - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apigee-registry:0.88.0' +implementation 'com.google.cloud:google-cloud-apigee-registry:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apigee-registry" % "0.89.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apigee-registry/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apigee-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apigee-registry/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/Version.java b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/Version.java index 5be83d7fd324..d369dfe1fa16 100644 --- a/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/Version.java +++ b/java-apigee-registry/google-cloud-apigee-registry/src/main/java/com/google/cloud/apigeeregistry/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-apigee-registry:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-apihub/.OwlBot-hermetic.yaml b/java-apihub/.OwlBot-hermetic.yaml index 6f67c7f6724a..374c3024f8bf 100644 --- a/java-apihub/.OwlBot-hermetic.yaml +++ b/java-apihub/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-apihub/samples/snippets/generated" deep-preserve-regex: +- "/java-apihub/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-apihub/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-apihub/README.md b/java-apihub/README.md index 9af3d352a037..a84f920eab22 100644 --- a/java-apihub/README.md +++ b/java-apihub/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apihub - 0.41.0 + 0.42.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apihub:0.41.0' +implementation 'com.google.cloud:google-cloud-apihub:0.42.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.41.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apihub" % "0.42.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apihub/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apihub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.41.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apihub/0.42.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apihub/google-cloud-apihub/src/main/java/com/google/cloud/apihub/v1/stub/Version.java b/java-apihub/google-cloud-apihub/src/main/java/com/google/cloud/apihub/v1/stub/Version.java index 7f63b6edf6d1..f3bfb9bcf041 100644 --- a/java-apihub/google-cloud-apihub/src/main/java/com/google/cloud/apihub/v1/stub/Version.java +++ b/java-apihub/google-cloud-apihub/src/main/java/com/google/cloud/apihub/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-apihub:current} - static final String VERSION = "0.42.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-apikeys/.OwlBot-hermetic.yaml b/java-apikeys/.OwlBot-hermetic.yaml index 7cba2ebe02e9..143f37842e19 100644 --- a/java-apikeys/.OwlBot-hermetic.yaml +++ b/java-apikeys/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-apikeys/samples/snippets/generated" deep-preserve-regex: +- "/java-apikeys/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-apikeys/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-apikeys/README.md b/java-apikeys/README.md index 9d1e5d50819a..dc5226c9d9e6 100644 --- a/java-apikeys/README.md +++ b/java-apikeys/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apikeys - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apikeys:0.86.0' +implementation 'com.google.cloud:google-cloud-apikeys:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apikeys" % "0.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apikeys/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/Version.java b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/Version.java index b1454714e258..a2c8ec23ecad 100644 --- a/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/Version.java +++ b/java-apikeys/google-cloud-apikeys/src/main/java/com/google/api/apikeys/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-apikeys:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-appengine-admin/README.md b/java-appengine-admin/README.md index e3e84cf6c54a..5da51d085558 100644 --- a/java-appengine-admin/README.md +++ b/java-appengine-admin/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-appengine-admin - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-appengine-admin:2.88.0' +implementation 'com.google.cloud:google-cloud-appengine-admin:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-appengine-admin" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-appengine-admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-appengine-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-appengine-admin/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/Version.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/Version.java index a3ba823be52e..c65bd00718d8 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/Version.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-appengine-admin:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-apphub/.OwlBot-hermetic.yaml b/java-apphub/.OwlBot-hermetic.yaml index cd07e1fbffb6..ffef9a6f16b6 100644 --- a/java-apphub/.OwlBot-hermetic.yaml +++ b/java-apphub/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-apphub/samples/snippets/generated" deep-preserve-regex: +- "/java-apphub/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-apphub/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-apphub/README.md b/java-apphub/README.md index ce8d7c331231..9d982b63f576 100644 --- a/java-apphub/README.md +++ b/java-apphub/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-apphub - 0.52.0 + 0.53.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-apphub:0.52.0' +implementation 'com.google.cloud:google-cloud-apphub:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-apphub" % "0.53.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-apphub/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apphub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apphub/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/Version.java b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/Version.java index 911143f6e16c..22d160c5eeae 100644 --- a/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/Version.java +++ b/java-apphub/google-cloud-apphub/src/main/java/com/google/cloud/apphub/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-apphub:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-area120-tables/README.md b/java-area120-tables/README.md index d94a6c0bf8e0..3162af592252 100644 --- a/java-area120-tables/README.md +++ b/java-area120-tables/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.area120 google-area120-tables - 0.92.0 + 0.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.area120:google-area120-tables:0.92.0' +implementation 'com.google.area120:google-area120-tables:0.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.92.0" +libraryDependencies += "com.google.area120" % "google-area120-tables" % "0.93.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-area120-tables/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.area120/google-area120-tables.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.area120/google-area120-tables/0.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java index bd55f31201a6..8f05f47f5de8 100644 --- a/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java +++ b/java-area120-tables/google-area120-tables/src/main/java/com/google/area120/tables/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-area120-tables:current} - static final String VERSION = "0.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-artifact-registry/README.md b/java-artifact-registry/README.md index c92af1acb7cd..65054fcc37d4 100644 --- a/java-artifact-registry/README.md +++ b/java-artifact-registry/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-artifact-registry - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-artifact-registry:1.87.0' +implementation 'com.google.cloud:google-cloud-artifact-registry:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-artifact-registry/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-artifact-registry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-artifact-registry/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/Version.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/Version.java index c85c59278e8a..6f590a006921 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/Version.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-artifact-registry:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/Version.java b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/Version.java index 47d1ff3fdf57..9e0a68ff27b8 100644 --- a/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/Version.java +++ b/java-artifact-registry/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-artifact-registry:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-asset/.OwlBot-hermetic.yaml b/java-asset/.OwlBot-hermetic.yaml index a6f72d67a869..55a085463691 100644 --- a/java-asset/.OwlBot-hermetic.yaml +++ b/java-asset/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-asset/google-.*/src" deep-preserve-regex: +- "/java-asset/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-asset/google-cloud-.*/src/test/java/com/google/cloud/.*/it" - "/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1/VPCServiceControlTest.java" - "/java-asset/proto-google-cloud-asset-v1/src/main/java/com/google/cloud/asset/v1/ProjectName.java" diff --git a/java-asset/README.md b/java-asset/README.md index c19beef5378c..77b3ec6f252b 100644 --- a/java-asset/README.md +++ b/java-asset/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-asset - 3.92.0 + 3.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-asset:3.92.0' +implementation 'com.google.cloud:google-cloud-asset:3.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-asset" % "3.93.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-asset/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-asset.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-asset/3.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/Version.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/Version.java index d0d37644410d..e157741b9e82 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/Version.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-asset:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/Version.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/Version.java index 888e6e72f0df..96a46b9f5ea1 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/Version.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-asset:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/Version.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/Version.java index b3b59eb0f35d..a5251de46d81 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/Version.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p2beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-asset:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/Version.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/Version.java index f2cdcc70e0c5..b7fced120ffc 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/Version.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p5beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-asset:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/Version.java b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/Version.java index 9894a74414d2..dd747b026c8e 100644 --- a/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/Version.java +++ b/java-asset/google-cloud-asset/src/main/java/com/google/cloud/asset/v1p7beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-asset:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-assured-workloads/README.md b/java-assured-workloads/README.md index df20efd261ed..4d7000d62529 100644 --- a/java-assured-workloads/README.md +++ b/java-assured-workloads/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-assured-workloads - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-assured-workloads:2.88.0' +implementation 'com.google.cloud:google-cloud-assured-workloads:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-assured-workloads" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-assured-workloads/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-assured-workloads.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-assured-workloads/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/Version.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/Version.java index e5604b6bb05e..1073aee165e3 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/Version.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-assured-workloads:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/Version.java b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/Version.java index 947ac77bd8e6..de601dc43041 100644 --- a/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/Version.java +++ b/java-assured-workloads/google-cloud-assured-workloads/src/main/java/com/google/cloud/assuredworkloads/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-assured-workloads:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-auditmanager/.OwlBot-hermetic.yaml b/java-auditmanager/.OwlBot-hermetic.yaml index bce31a4cf7a2..6be97f5df6f0 100644 --- a/java-auditmanager/.OwlBot-hermetic.yaml +++ b/java-auditmanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-auditmanager/samples/snippets/generated" deep-preserve-regex: +- "/java-auditmanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-auditmanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-auditmanager/README.md b/java-auditmanager/README.md index cc2f5dbf2d68..569b51381dc1 100644 --- a/java-auditmanager/README.md +++ b/java-auditmanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-auditmanager - 0.6.0 + 0.7.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-auditmanager:0.6.0' +implementation 'com.google.cloud:google-cloud-auditmanager:0.7.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-auditmanager" % "0.6.0" +libraryDependencies += "com.google.cloud" % "google-cloud-auditmanager" % "0.7.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-auditmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-auditmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-auditmanager/0.6.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-auditmanager/0.7.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-auditmanager/google-cloud-auditmanager/src/main/java/com/google/cloud/auditmanager/v1/stub/Version.java b/java-auditmanager/google-cloud-auditmanager/src/main/java/com/google/cloud/auditmanager/v1/stub/Version.java index c4c02333bdba..7a46f77ccc46 100644 --- a/java-auditmanager/google-cloud-auditmanager/src/main/java/com/google/cloud/auditmanager/v1/stub/Version.java +++ b/java-auditmanager/google-cloud-auditmanager/src/main/java/com/google/cloud/auditmanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-auditmanager:current} - static final String VERSION = "0.7.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-automl/README.md b/java-automl/README.md index f4e927434664..bf28c4c652cf 100644 --- a/java-automl/README.md +++ b/java-automl/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-automl - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-automl:2.88.0' +implementation 'com.google.cloud:google-cloud-automl:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-automl" % "2.89.0" ``` ## Authentication @@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-automl/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-automl.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-automl/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/Version.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/Version.java index ed8b23081b4e..cb48432f9ffb 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/Version.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-automl:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/Version.java b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/Version.java index 7c7527163ed4..b062b3e94229 100644 --- a/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/Version.java +++ b/java-automl/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-automl:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-backupdr/.OwlBot-hermetic.yaml b/java-backupdr/.OwlBot-hermetic.yaml index 42c8ce791d3b..59b8e7aa56f2 100644 --- a/java-backupdr/.OwlBot-hermetic.yaml +++ b/java-backupdr/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-backupdr/samples/snippets/generated" deep-preserve-regex: +- "/java-backupdr/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-backupdr/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-backupdr/README.md b/java-backupdr/README.md index 896a55890ac1..40680feabc86 100644 --- a/java-backupdr/README.md +++ b/java-backupdr/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-backupdr - 0.47.0 + 0.48.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-backupdr:0.47.0' +implementation 'com.google.cloud:google-cloud-backupdr:0.48.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.47.0" +libraryDependencies += "com.google.cloud" % "google-cloud-backupdr" % "0.48.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-backupdr/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-backupdr.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-backupdr/0.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-backupdr/google-cloud-backupdr/src/main/java/com/google/cloud/backupdr/v1/stub/Version.java b/java-backupdr/google-cloud-backupdr/src/main/java/com/google/cloud/backupdr/v1/stub/Version.java index 2f00530fc9a9..33000039558a 100644 --- a/java-backupdr/google-cloud-backupdr/src/main/java/com/google/cloud/backupdr/v1/stub/Version.java +++ b/java-backupdr/google-cloud-backupdr/src/main/java/com/google/cloud/backupdr/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-backupdr:current} - static final String VERSION = "0.48.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bare-metal-solution/.OwlBot-hermetic.yaml b/java-bare-metal-solution/.OwlBot-hermetic.yaml index f3598960c0d0..d5c8131872bf 100644 --- a/java-bare-metal-solution/.OwlBot-hermetic.yaml +++ b/java-bare-metal-solution/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bare-metal-solution/google-.*/src" deep-preserve-regex: +- "/java-bare-metal-solution/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bare-metal-solution/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-bare-metal-solution/README.md b/java-bare-metal-solution/README.md index 8a3c5e445456..66c96b764fed 100644 --- a/java-bare-metal-solution/README.md +++ b/java-bare-metal-solution/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bare-metal-solution - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.88.0' +implementation 'com.google.cloud:google-cloud-bare-metal-solution:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bare-metal-solution" % "0.89.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bare-metal-solution/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bare-metal-solution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bare-metal-solution/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/Version.java b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/Version.java index 310a072dca69..e634ed9e53ec 100644 --- a/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/Version.java +++ b/java-bare-metal-solution/google-cloud-bare-metal-solution/src/main/java/com/google/cloud/baremetalsolution/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bare-metal-solution:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-batch/.OwlBot-hermetic.yaml b/java-batch/.OwlBot-hermetic.yaml index f12b5c226bc0..9a93e600609b 100644 --- a/java-batch/.OwlBot-hermetic.yaml +++ b/java-batch/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-batch/samples/snippets/generated" deep-preserve-regex: +- "/java-batch/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-batch/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-batch/README.md b/java-batch/README.md index 477b0f81690a..7f2420d0df97 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-batch - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-batch:0.88.0' +implementation 'com.google.cloud:google-cloud-batch:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.89.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-batch/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/Version.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/Version.java index d29873d6bf88..7df26db35295 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/Version.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-batch:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/Version.java b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/Version.java index 94b62f85dc2d..af25b46e9624 100644 --- a/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/Version.java +++ b/java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-batch:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-beyondcorp-appconnections/.OwlBot-hermetic.yaml b/java-beyondcorp-appconnections/.OwlBot-hermetic.yaml index 998c1c9c1c55..3ea8fc46c1dc 100644 --- a/java-beyondcorp-appconnections/.OwlBot-hermetic.yaml +++ b/java-beyondcorp-appconnections/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-beyondcorp-appconnections/samples/snippets/generated" deep-preserve-regex: +- "/java-beyondcorp-appconnections/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-beyondcorp-appconnections/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-beyondcorp-appconnections/README.md b/java-beyondcorp-appconnections/README.md index 6a5694eaaa37..0a7425f154ab 100644 --- a/java-beyondcorp-appconnections/README.md +++ b/java-beyondcorp-appconnections/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnections - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.86.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnections:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnections" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnections/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnections.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnections/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/stub/Version.java b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/stub/Version.java index d2a5e3096218..7f493b8565e3 100644 --- a/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/stub/Version.java +++ b/java-beyondcorp-appconnections/google-cloud-beyondcorp-appconnections/src/main/java/com/google/cloud/beyondcorp/appconnections/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-beyondcorp-appconnections:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-beyondcorp-appconnectors/.OwlBot-hermetic.yaml b/java-beyondcorp-appconnectors/.OwlBot-hermetic.yaml index 654c79b96dc5..8e6851401a8d 100644 --- a/java-beyondcorp-appconnectors/.OwlBot-hermetic.yaml +++ b/java-beyondcorp-appconnectors/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-beyondcorp-appconnectors/samples/snippets/generated" deep-preserve-regex: +- "/java-beyondcorp-appconnectors/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-beyondcorp-appconnectors/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-beyondcorp-appconnectors/README.md b/java-beyondcorp-appconnectors/README.md index 453d5aff10eb..5b99ed2f6b94 100644 --- a/java-beyondcorp-appconnectors/README.md +++ b/java-beyondcorp-appconnectors/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appconnectors - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.86.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appconnectors:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appconnectors" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appconnectors/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appconnectors.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appconnectors/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/Version.java b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/Version.java index 76651cf3903b..b61bc4c90944 100644 --- a/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/Version.java +++ b/java-beyondcorp-appconnectors/google-cloud-beyondcorp-appconnectors/src/main/java/com/google/cloud/beyondcorp/appconnectors/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-beyondcorp-appconnectors:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-beyondcorp-appgateways/.OwlBot-hermetic.yaml b/java-beyondcorp-appgateways/.OwlBot-hermetic.yaml index 285b4fa956f3..a37176503401 100644 --- a/java-beyondcorp-appgateways/.OwlBot-hermetic.yaml +++ b/java-beyondcorp-appgateways/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-beyondcorp-appgateways/samples/snippets/generated" deep-preserve-regex: +- "/java-beyondcorp-appgateways/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-beyondcorp-appgateways/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-beyondcorp-appgateways/README.md b/java-beyondcorp-appgateways/README.md index f4330af54564..31a704d87b9d 100644 --- a/java-beyondcorp-appgateways/README.md +++ b/java-beyondcorp-appgateways/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-appgateways - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.86.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-appgateways:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-appgateways" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-appgateways/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-appgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-appgateways/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/stub/Version.java b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/stub/Version.java index eb4dd409d7ee..82a87675e981 100644 --- a/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/stub/Version.java +++ b/java-beyondcorp-appgateways/google-cloud-beyondcorp-appgateways/src/main/java/com/google/cloud/beyondcorp/appgateways/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-beyondcorp-appgateways:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-beyondcorp-clientconnectorservices/.OwlBot-hermetic.yaml b/java-beyondcorp-clientconnectorservices/.OwlBot-hermetic.yaml index bbc65b3879cc..6bcdb956fcae 100644 --- a/java-beyondcorp-clientconnectorservices/.OwlBot-hermetic.yaml +++ b/java-beyondcorp-clientconnectorservices/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-beyondcorp-clientconnectorservices/samples/snippets/generated" deep-preserve-regex: +- "/java-beyondcorp-clientconnectorservices/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-beyondcorp-clientconnectorservices/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-beyondcorp-clientconnectorservices/README.md b/java-beyondcorp-clientconnectorservices/README.md index ca505f17e673..94ffa27cd536 100644 --- a/java-beyondcorp-clientconnectorservices/README.md +++ b/java-beyondcorp-clientconnectorservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientconnectorservices - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.86.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientconnectorservices:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientconnectorservices" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientconnectorservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientconnectorservices/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/stub/Version.java b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/stub/Version.java index 458b8c4c28bd..ad880e6f3cd3 100644 --- a/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/stub/Version.java +++ b/java-beyondcorp-clientconnectorservices/google-cloud-beyondcorp-clientconnectorservices/src/main/java/com/google/cloud/beyondcorp/clientconnectorservices/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-beyondcorp-clientconnectorservices:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-beyondcorp-clientgateways/.OwlBot-hermetic.yaml b/java-beyondcorp-clientgateways/.OwlBot-hermetic.yaml index 62280590348e..e193d5b7a46c 100644 --- a/java-beyondcorp-clientgateways/.OwlBot-hermetic.yaml +++ b/java-beyondcorp-clientgateways/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-beyondcorp-clientgateways/samples/snippets/generated" deep-preserve-regex: +- "/java-beyondcorp-clientgateways/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-beyondcorp-clientgateways/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-beyondcorp-clientgateways/README.md b/java-beyondcorp-clientgateways/README.md index e8bfdef1ba7a..a0ff567af497 100644 --- a/java-beyondcorp-clientgateways/README.md +++ b/java-beyondcorp-clientgateways/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-beyondcorp-clientgateways - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.86.0' +implementation 'com.google.cloud:google-cloud-beyondcorp-clientgateways:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-beyondcorp-clientgateways" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-beyondcorp-clientgateways/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-beyondcorp-clientgateways.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-beyondcorp-clientgateways/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/stub/Version.java b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/stub/Version.java index 3c8747891f57..2b2e7ae48b0b 100644 --- a/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/stub/Version.java +++ b/java-beyondcorp-clientgateways/google-cloud-beyondcorp-clientgateways/src/main/java/com/google/cloud/beyondcorp/clientgateways/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-beyondcorp-clientgateways:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-biglake/.OwlBot-hermetic.yaml b/java-biglake/.OwlBot-hermetic.yaml index 4ffead625ccc..b2c11c56d1a8 100644 --- a/java-biglake/.OwlBot-hermetic.yaml +++ b/java-biglake/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-biglake/samples/snippets/generated" deep-preserve-regex: +- "/java-biglake/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-biglake/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-biglake/README.md b/java-biglake/README.md index 8f8c1ad01203..05322b8a5920 100644 --- a/java-biglake/README.md +++ b/java-biglake/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-biglake - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-biglake:0.76.0' +implementation 'com.google.cloud:google-cloud-biglake:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-biglake" % "0.77.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-biglake/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-biglake.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-biglake/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/hive/v1beta/stub/Version.java b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/hive/v1beta/stub/Version.java index a6b347fe77ff..4762d7543f5e 100644 --- a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/hive/v1beta/stub/Version.java +++ b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/hive/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-biglake:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/v1/stub/Version.java b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/v1/stub/Version.java index 92ccc2f2062c..d8e0e76dd3c2 100644 --- a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/v1/stub/Version.java +++ b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/biglake/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-biglake:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1/stub/Version.java b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1/stub/Version.java index d844876d9637..d8de57cb0dba 100644 --- a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1/stub/Version.java +++ b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-biglake:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1alpha1/stub/Version.java b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1alpha1/stub/Version.java index 58f586e3e9a2..27afda023c60 100644 --- a/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1alpha1/stub/Version.java +++ b/java-biglake/google-cloud-biglake/src/main/java/com/google/cloud/bigquery/biglake/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-biglake:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquery-data-exchange/.OwlBot-hermetic.yaml b/java-bigquery-data-exchange/.OwlBot-hermetic.yaml index 7b8236dd43a8..18d0eacab362 100644 --- a/java-bigquery-data-exchange/.OwlBot-hermetic.yaml +++ b/java-bigquery-data-exchange/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigquery-data-exchange/samples/snippets/generated" deep-preserve-regex: +- "/java-bigquery-data-exchange/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigquery-data-exchange/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-bigquery-data-exchange/README.md b/java-bigquery-data-exchange/README.md index 895f81d2fd58..295f29b3de9e 100644 --- a/java-bigquery-data-exchange/README.md +++ b/java-bigquery-data-exchange/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquery-data-exchange - 2.83.0 + 2.84.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.83.0' +implementation 'com.google.cloud:google-cloud-bigquery-data-exchange:2.84.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.83.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquery-data-exchange" % "2.84.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquery-data-exchange/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquery-data-exchange.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.83.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquery-data-exchange/2.84.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/Version.java b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/Version.java index cc1ec1c7e1df..6598661f38aa 100644 --- a/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/Version.java +++ b/java-bigquery-data-exchange/google-cloud-bigquery-data-exchange/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquery-data-exchange:current} - static final String VERSION = "2.84.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigqueryconnection/.OwlBot-hermetic.yaml b/java-bigqueryconnection/.OwlBot-hermetic.yaml index 6df8d449ad2e..0e88837ceed6 100644 --- a/java-bigqueryconnection/.OwlBot-hermetic.yaml +++ b/java-bigqueryconnection/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigqueryconnection/samples/snippets/generated" deep-preserve-regex: +- "/java-bigqueryconnection/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigqueryconnection/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigqueryconnection/v.*/it/ITSystemTest.java" deep-copy-regex: diff --git a/java-bigqueryconnection/README.md b/java-bigqueryconnection/README.md index e4133a5a90fc..dd664e24160f 100644 --- a/java-bigqueryconnection/README.md +++ b/java-bigqueryconnection/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryconnection - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.90.0' +implementation 'com.google.cloud:google-cloud-bigqueryconnection:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1beta1 [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryconnection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryconnection/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/Version.java b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/Version.java index 60308fb9fcfb..470678b19198 100644 --- a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/Version.java +++ b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigqueryconnection:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/Version.java b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/Version.java index c93f15d29e83..ed590e4c5737 100644 --- a/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/Version.java +++ b/java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigqueryconnection:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerydatapolicy/.OwlBot-hermetic.yaml b/java-bigquerydatapolicy/.OwlBot-hermetic.yaml index a2fead5ee8e9..b6e32b1631c5 100644 --- a/java-bigquerydatapolicy/.OwlBot-hermetic.yaml +++ b/java-bigquerydatapolicy/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigquerydatapolicy/samples/snippets/generated" deep-preserve-regex: +- "/java-bigquerydatapolicy/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigquerydatapolicy/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-bigquerydatapolicy/README.md b/java-bigquerydatapolicy/README.md index 278aa6dff644..ee1d029d1052 100644 --- a/java-bigquerydatapolicy/README.md +++ b/java-bigquerydatapolicy/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatapolicy - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.85.0' +implementation 'com.google.cloud:google-cloud-bigquerydatapolicy:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatapolicy" % "0.86.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatapolicy/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatapolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatapolicy/0.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1/stub/Version.java b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1/stub/Version.java index 0826d1c2ff2c..7fd74d802b26 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1/stub/Version.java +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerydatapolicy:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/stub/Version.java b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/stub/Version.java index 4fb22791c652..dab905714f56 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/stub/Version.java +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerydatapolicy:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2/stub/Version.java b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2/stub/Version.java index bf959918dfc5..42547aa7a8a9 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2/stub/Version.java +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerydatapolicy:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2beta1/stub/Version.java b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2beta1/stub/Version.java index 1762396a98f8..cafe44765cb0 100644 --- a/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2beta1/stub/Version.java +++ b/java-bigquerydatapolicy/google-cloud-bigquerydatapolicy/src/main/java/com/google/cloud/bigquery/datapolicies/v2beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerydatapolicy:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerydatatransfer/.OwlBot-hermetic.yaml b/java-bigquerydatatransfer/.OwlBot-hermetic.yaml index efba65859bb4..809a51e847b4 100644 --- a/java-bigquerydatatransfer/.OwlBot-hermetic.yaml +++ b/java-bigquerydatatransfer/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigquerydatatransfer/samples/snippets/generated" deep-preserve-regex: +- "/java-bigquerydatatransfer/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/SampleApp.java" deep-copy-regex: diff --git a/java-bigquerydatatransfer/README.md b/java-bigquerydatatransfer/README.md index b77762d83b6b..3a56d5c67adb 100644 --- a/java-bigquerydatatransfer/README.md +++ b/java-bigquerydatatransfer/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerydatatransfer - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.88.0' +implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerydatatransfer/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/Version.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/Version.java index 5c112022a956..0b2a3d3fe0a8 100644 --- a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/Version.java +++ b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerydatatransfer:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerymigration/.OwlBot-hermetic.yaml b/java-bigquerymigration/.OwlBot-hermetic.yaml index 260667f1df9f..95efdaa138d4 100644 --- a/java-bigquerymigration/.OwlBot-hermetic.yaml +++ b/java-bigquerymigration/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigquerymigration/samples/snippets/generated" deep-preserve-regex: +- "/java-bigquerymigration/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigquerymigration/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-bigquerymigration/README.md b/java-bigquerymigration/README.md index d5567fbe91fe..17c65f09fd1a 100644 --- a/java-bigquerymigration/README.md +++ b/java-bigquerymigration/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigquerymigration - 0.91.0 + 0.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerymigration:0.91.0' +implementation 'com.google.cloud:google-cloud-bigquerymigration:0.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerymigration" % "0.92.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerymigration/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerymigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerymigration/0.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/Version.java b/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/Version.java index 8137b93b8bf8..bb0305b4c5f2 100644 --- a/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/Version.java +++ b/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerymigration:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/Version.java b/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/Version.java index 01ea13727458..a726a175d55d 100644 --- a/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/Version.java +++ b/java-bigquerymigration/google-cloud-bigquerymigration/src/main/java/com/google/cloud/bigquery/migration/v2alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerymigration:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigqueryreservation/.OwlBot-hermetic.yaml b/java-bigqueryreservation/.OwlBot-hermetic.yaml index 1c36d074f67b..2bfbd996ae5c 100644 --- a/java-bigqueryreservation/.OwlBot-hermetic.yaml +++ b/java-bigqueryreservation/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-bigqueryreservation/samples/snippets/generated" deep-preserve-regex: +- "/java-bigqueryreservation/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-bigqueryreservation/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-bigqueryreservation/README.md b/java-bigqueryreservation/README.md index 4e7c53c583af..e3acd52c3d5a 100644 --- a/java-bigqueryreservation/README.md +++ b/java-bigqueryreservation/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-bigqueryreservation - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.89.0' +implementation 'com.google.cloud:google-cloud-bigqueryreservation:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryreservation" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigqueryreservation/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigqueryreservation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigqueryreservation/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/Version.java b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/Version.java index cef34bd81b62..25f01a43b736 100644 --- a/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/Version.java +++ b/java-bigqueryreservation/google-cloud-bigqueryreservation/src/main/java/com/google/cloud/bigquery/reservation/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigqueryreservation:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerystorage/.OwlBot-hermetic.yaml b/java-bigquerystorage/.OwlBot-hermetic.yaml index 54a72ded4010..3d6476a90e98 100644 --- a/java-bigquerystorage/.OwlBot-hermetic.yaml +++ b/java-bigquerystorage/.OwlBot-hermetic.yaml @@ -16,7 +16,9 @@ deep-remove-regex: - /java-bigquerystorage/grpc-google-.*/src - /java-bigquerystorage/proto-google-.*/src - /java-bigquerystorage/google-.*/src + deep-preserve-regex: +- /java-bigquerystorage/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java - /java-bigquerystorage/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java - /java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/SchemaAwareStreamWriter.java - /java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/ToProtoConverter.java @@ -89,6 +91,7 @@ deep-preserve-regex: - /java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/Singletons.java - /java-bigquerystorage/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-bigquerystorage/reflect-config.json - /java-bigquerystorage/google-cloud-bigquerystorage/src/main/resources/META-INF/native-image/com.google.cloud/google-cloud-bigquerystorage/resource-config.json + deep-copy-regex: - source: /google/cloud/bigquery/storage/(v.*)/.*-java/proto-google-.*/src dest: /owl-bot-staging/java-bigquerystorage/$1/proto-google-cloud-bigquerystorage-$1/src diff --git a/java-bigquerystorage/README.md b/java-bigquerystorage/README.md index 0244a97261bc..93aa51eea6e9 100644 --- a/java-bigquerystorage/README.md +++ b/java-bigquerystorage/README.md @@ -63,13 +63,13 @@ implementation 'com.google.cloud:google-cloud-bigquerystorage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerystorage:3.24.0' +implementation 'com.google.cloud:google-cloud-bigquerystorage:3.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "3.24.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "3.25.0" ``` ## Authentication @@ -242,7 +242,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerystorage/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerystorage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/3.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/3.25.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/Version.java b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/Version.java index 3c1e8475bce3..f6e9a74812e1 100644 --- a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/Version.java +++ b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerystorage:current} - static final String VERSION = "3.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1alpha/stub/Version.java b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1alpha/stub/Version.java index f35f0cba1fce..c002becdd7c1 100644 --- a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1alpha/stub/Version.java +++ b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerystorage:current} - static final String VERSION = "3.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta/stub/Version.java b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta/stub/Version.java index 29829bac0432..de99a6ac05e3 100644 --- a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta/stub/Version.java +++ b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerystorage:current} - static final String VERSION = "3.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/Version.java b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/Version.java index f43f1f7f521d..288901db0151 100644 --- a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/Version.java +++ b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerystorage:current} - static final String VERSION = "3.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/Version.java b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/Version.java index b19389420323..9ccf87962180 100644 --- a/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/Version.java +++ b/java-bigquerystorage/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-bigquerystorage:current} - static final String VERSION = "3.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-billing/.OwlBot-hermetic.yaml b/java-billing/.OwlBot-hermetic.yaml index d42dff70fbee..9124cc39a809 100644 --- a/java-billing/.OwlBot-hermetic.yaml +++ b/java-billing/.OwlBot-hermetic.yaml @@ -13,6 +13,7 @@ # limitations under the License. deep-preserve-regex: +- "/java-billing/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-billing/google-cloud-billing/src/test/java/com/google/cloud/billing/v1/CloudBillingClientHttpJsonTest.java" deep-remove-regex: diff --git a/java-billing/README.md b/java-billing/README.md index 3d08e7d81a28..1463fa923b64 100644 --- a/java-billing/README.md +++ b/java-billing/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billing - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billing:2.88.0' +implementation 'com.google.cloud:google-cloud-billing:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billing" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billing/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billing/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/stub/Version.java b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/stub/Version.java index e88e2b993168..1b3fe8ae1690 100644 --- a/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/stub/Version.java +++ b/java-billing/google-cloud-billing/src/main/java/com/google/cloud/billing/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-billing:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-billingbudgets/README.md b/java-billingbudgets/README.md index 8585d4539f78..9d7c97d93770 100644 --- a/java-billingbudgets/README.md +++ b/java-billingbudgets/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-billingbudgets - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-billingbudgets:2.88.0' +implementation 'com.google.cloud:google-cloud-billingbudgets:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-billingbudgets" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-billingbudgets/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-billingbudgets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-billingbudgets/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/Version.java b/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/Version.java index 94e4e2deae34..a508a08d090c 100644 --- a/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/Version.java +++ b/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-billingbudgets:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/Version.java b/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/Version.java index 2e9d2f3bbdb6..61865fa02a68 100644 --- a/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/Version.java +++ b/java-billingbudgets/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-billingbudgets:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-binary-authorization/README.md b/java-binary-authorization/README.md index eda315cf812e..a1404de0fb40 100644 --- a/java-binary-authorization/README.md +++ b/java-binary-authorization/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-binary-authorization - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-binary-authorization:1.87.0' +implementation 'com.google.cloud:google-cloud-binary-authorization:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-binary-authorization" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-binary-authorization/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-binary-authorization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-binary-authorization/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/Version.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/Version.java index f91820197eb9..b7340a543c5c 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/Version.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/cloud/binaryauthorization/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-binary-authorization:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/Version.java b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/Version.java index 4e4119ec9690..c40f758f1748 100644 --- a/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/Version.java +++ b/java-binary-authorization/google-cloud-binary-authorization/src/main/java/com/google/protos/google/cloud/binaryauthorization/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-binary-authorization:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-capacityplanner/.OwlBot-hermetic.yaml b/java-capacityplanner/.OwlBot-hermetic.yaml index 2bd357afc57a..a00d0ffb4756 100644 --- a/java-capacityplanner/.OwlBot-hermetic.yaml +++ b/java-capacityplanner/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-capacityplanner/samples/snippets/generated" deep-preserve-regex: +- "/java-capacityplanner/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-capacityplanner/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-capacityplanner/README.md b/java-capacityplanner/README.md index e5dc0a502660..cc815a1affe6 100644 --- a/java-capacityplanner/README.md +++ b/java-capacityplanner/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-capacityplanner - 0.11.0 + 0.12.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-capacityplanner:0.11.0' +implementation 'com.google.cloud:google-cloud-capacityplanner:0.12.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.11.0" +libraryDependencies += "com.google.cloud" % "google-cloud-capacityplanner" % "0.12.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-capacityplanner/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-capacityplanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.11.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-capacityplanner/0.12.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-capacityplanner/google-cloud-capacityplanner/src/main/java/com/google/cloud/capacityplanner/v1beta/stub/Version.java b/java-capacityplanner/google-cloud-capacityplanner/src/main/java/com/google/cloud/capacityplanner/v1beta/stub/Version.java index cb79cf227b51..eca6a47f8688 100644 --- a/java-capacityplanner/google-cloud-capacityplanner/src/main/java/com/google/cloud/capacityplanner/v1beta/stub/Version.java +++ b/java-capacityplanner/google-cloud-capacityplanner/src/main/java/com/google/cloud/capacityplanner/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-capacityplanner:current} - static final String VERSION = "0.12.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-certificate-manager/.OwlBot-hermetic.yaml b/java-certificate-manager/.OwlBot-hermetic.yaml index 0816cd4f9c17..4e94f7f9e722 100644 --- a/java-certificate-manager/.OwlBot-hermetic.yaml +++ b/java-certificate-manager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-certificate-manager/google-.*/src" deep-preserve-regex: +- "/java-certificate-manager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-certificate-manager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index 2d60bc6c4cc6..d97b6462fb13 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-certificate-manager - 0.91.0 + 0.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-certificate-manager:0.91.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.92.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-certificate-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-certificate-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-certificate-manager/0.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/Version.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/Version.java index 9584bff64860..f24f7883ad0b 100644 --- a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/Version.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-certificate-manager:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-ces/.OwlBot-hermetic.yaml b/java-ces/.OwlBot-hermetic.yaml index 022d5aa9b1bf..3d59bf19e3fc 100644 --- a/java-ces/.OwlBot-hermetic.yaml +++ b/java-ces/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-ces/samples/snippets/generated" deep-preserve-regex: +- "/java-ces/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-ces/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-ces/README.md b/java-ces/README.md index dd28a045ed85..5d0982b285d9 100644 --- a/java-ces/README.md +++ b/java-ces/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ces - 0.4.0 + 0.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ces:0.4.0' +implementation 'com.google.cloud:google-cloud-ces:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ces" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ces" % "0.5.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-ces/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ces.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ces/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ces/0.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1/stub/Version.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1/stub/Version.java index 3f0f25fd0c45..d2141babb3c2 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1/stub/Version.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-ces:current} - static final String VERSION = "0.5.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/Version.java b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/Version.java index 9afe78c4d7bb..eb2d5a0f0829 100644 --- a/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/Version.java +++ b/java-ces/google-cloud-ces/src/main/java/com/google/cloud/ces/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-ces:current} - static final String VERSION = "0.5.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-channel/README.md b/java-channel/README.md index 9e9b706e9635..4775f7e0762e 100644 --- a/java-channel/README.md +++ b/java-channel/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-channel - 3.92.0 + 3.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-channel:3.92.0' +implementation 'com.google.cloud:google-cloud-channel:3.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-channel" % "3.93.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-channel/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-channel.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-channel/3.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/Version.java b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/Version.java index a2ee2fe918bc..eb5a76125081 100644 --- a/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/Version.java +++ b/java-channel/google-cloud-channel/src/main/java/com/google/cloud/channel/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-channel:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-chat/.OwlBot-hermetic.yaml b/java-chat/.OwlBot-hermetic.yaml index f4f545339680..3d9d5c4bf3bd 100644 --- a/java-chat/.OwlBot-hermetic.yaml +++ b/java-chat/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-chat/samples/snippets/generated" deep-preserve-regex: +- "/java-chat/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-chat/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-chat/README.md b/java-chat/README.md index d666785830cc..90d57279b624 100644 --- a/java-chat/README.md +++ b/java-chat/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chat - 0.52.0 + 0.53.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chat:0.52.0' +implementation 'com.google.cloud:google-cloud-chat:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chat" % "0.53.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chat/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chat.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chat/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/Version.java b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/Version.java index e93b35f2c3b4..961d13707997 100644 --- a/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/Version.java +++ b/java-chat/google-cloud-chat/src/main/java/com/google/chat/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-chat:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-chronicle/.OwlBot-hermetic.yaml b/java-chronicle/.OwlBot-hermetic.yaml index ad7d057a381e..feb6645d9d08 100644 --- a/java-chronicle/.OwlBot-hermetic.yaml +++ b/java-chronicle/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-chronicle/samples/snippets/generated" deep-preserve-regex: +- "/java-chronicle/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-chronicle/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-chronicle/README.md b/java-chronicle/README.md index 9b2d7719c49c..b6809e34df78 100644 --- a/java-chronicle/README.md +++ b/java-chronicle/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-chronicle - 0.26.0 + 0.27.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-chronicle:0.26.0' +implementation 'com.google.cloud:google-cloud-chronicle:0.27.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.26.0" +libraryDependencies += "com.google.cloud" % "google-cloud-chronicle" % "0.27.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-chronicle/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-chronicle.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.26.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-chronicle/0.27.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/Version.java b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/Version.java index bfd46d257eca..37a652116b4a 100644 --- a/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/Version.java +++ b/java-chronicle/google-cloud-chronicle/src/main/java/com/google/cloud/chronicle/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-chronicle:current} - static final String VERSION = "0.27.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudapiregistry/.OwlBot-hermetic.yaml b/java-cloudapiregistry/.OwlBot-hermetic.yaml index 601dc3f6704f..976454c34605 100644 --- a/java-cloudapiregistry/.OwlBot-hermetic.yaml +++ b/java-cloudapiregistry/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudapiregistry/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudapiregistry/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudapiregistry/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudapiregistry/README.md b/java-cloudapiregistry/README.md index aee50703c8ab..b53c80836a46 100644 --- a/java-cloudapiregistry/README.md +++ b/java-cloudapiregistry/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudapiregistry - 0.7.0 + 0.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudapiregistry:0.7.0' +implementation 'com.google.cloud:google-cloud-cloudapiregistry:0.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudapiregistry" % "0.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudapiregistry" % "0.8.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudapiregistry/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudapiregistry.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudapiregistry/0.7.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudapiregistry/0.8.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1/stub/Version.java b/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1/stub/Version.java index 79046ca47c59..762867f2dddc 100644 --- a/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1/stub/Version.java +++ b/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudapiregistry:current} - static final String VERSION = "0.8.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1beta/stub/Version.java b/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1beta/stub/Version.java index a6cb046fd1a1..3a883344e393 100644 --- a/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1beta/stub/Version.java +++ b/java-cloudapiregistry/google-cloud-cloudapiregistry/src/main/java/com/google/cloud/apiregistry/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudapiregistry:current} - static final String VERSION = "0.8.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index ad23b34943e2..24d9c3c8fe65 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-build - 3.90.0 + 3.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-build:3.90.0' +implementation 'com.google.cloud:google-cloud-build:3.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-build/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/Version.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/Version.java index 7bdc10c341b3..7610a27fa007 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/Version.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-build:current} - static final String VERSION = "3.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/Version.java b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/Version.java index e0dc08b3d7c7..df490758afc2 100644 --- a/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/Version.java +++ b/java-cloudbuild/google-cloud-build/src/main/java/com/google/cloud/devtools/cloudbuild/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-build:current} - static final String VERSION = "3.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudcommerceconsumerprocurement/.OwlBot-hermetic.yaml b/java-cloudcommerceconsumerprocurement/.OwlBot-hermetic.yaml index a78286eab59f..7dbcfcb47c4f 100644 --- a/java-cloudcommerceconsumerprocurement/.OwlBot-hermetic.yaml +++ b/java-cloudcommerceconsumerprocurement/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudcommerceconsumerprocurement/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudcommerceconsumerprocurement/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudcommerceconsumerprocurement/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudcommerceconsumerprocurement/README.md b/java-cloudcommerceconsumerprocurement/README.md index a6231e99f3a1..c36f83285f36 100644 --- a/java-cloudcommerceconsumerprocurement/README.md +++ b/java-cloudcommerceconsumerprocurement/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcommerceconsumerprocurement - 0.86.0 + 0.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.86.0' +implementation 'com.google.cloud:google-cloud-cloudcommerceconsumerprocurement:0.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcommerceconsumerprocurement" % "0.87.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcommerceconsumerprocurement/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcommerceconsumerprocurement/0.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1/stub/Version.java b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1/stub/Version.java index 7d947cfcdeaf..915e9ecf27ef 100644 --- a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1/stub/Version.java +++ b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudcommerceconsumerprocurement:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/stub/Version.java b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/stub/Version.java index 94b367215a3c..01153d25b7aa 100644 --- a/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/stub/Version.java +++ b/java-cloudcommerceconsumerprocurement/google-cloud-cloudcommerceconsumerprocurement/src/main/java/com/google/cloud/commerce/consumer/procurement/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudcommerceconsumerprocurement:current} - static final String VERSION = "0.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudcontrolspartner/.OwlBot-hermetic.yaml b/java-cloudcontrolspartner/.OwlBot-hermetic.yaml index b6b792e566ff..c3b9c901e031 100644 --- a/java-cloudcontrolspartner/.OwlBot-hermetic.yaml +++ b/java-cloudcontrolspartner/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudcontrolspartner/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudcontrolspartner/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudcontrolspartner/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudcontrolspartner/README.md b/java-cloudcontrolspartner/README.md index 8a6432984dd3..34a770b46192 100644 --- a/java-cloudcontrolspartner/README.md +++ b/java-cloudcontrolspartner/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudcontrolspartner - 0.52.0 + 0.53.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.52.0' +implementation 'com.google.cloud:google-cloud-cloudcontrolspartner:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudcontrolspartner" % "0.53.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudcontrolspartner/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudcontrolspartner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudcontrolspartner/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1/stub/Version.java b/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1/stub/Version.java index 6cf57192b73a..772aebf6e150 100644 --- a/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1/stub/Version.java +++ b/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudcontrolspartner:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/stub/Version.java b/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/stub/Version.java index 52eb412d6482..aed687cdccbf 100644 --- a/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/stub/Version.java +++ b/java-cloudcontrolspartner/google-cloud-cloudcontrolspartner/src/main/java/com/google/cloud/cloudcontrolspartner/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudcontrolspartner:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudquotas/.OwlBot-hermetic.yaml b/java-cloudquotas/.OwlBot-hermetic.yaml index 0c9361da963e..1a9cb0d6a967 100644 --- a/java-cloudquotas/.OwlBot-hermetic.yaml +++ b/java-cloudquotas/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudquotas/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudquotas/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudquotas/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudquotas/README.md b/java-cloudquotas/README.md index ee68eecfbd70..8daf945a667f 100644 --- a/java-cloudquotas/README.md +++ b/java-cloudquotas/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudquotas - 0.56.0 + 0.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudquotas:0.56.0' +implementation 'com.google.cloud:google-cloud-cloudquotas:0.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudquotas" % "0.57.0" ``` ## Authentication @@ -177,7 +177,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudquotas/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudquotas.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudquotas/0.57.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1/stub/Version.java b/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1/stub/Version.java index 29496295a7c9..24e0008a7a18 100644 --- a/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1/stub/Version.java +++ b/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudquotas:current} - static final String VERSION = "0.57.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1beta/stub/Version.java b/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1beta/stub/Version.java index d1e6cbd66f34..0d84383a6301 100644 --- a/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1beta/stub/Version.java +++ b/java-cloudquotas/google-cloud-cloudquotas/src/main/java/com/google/api/cloudquotas/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudquotas:current} - static final String VERSION = "0.57.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudsecuritycompliance/.OwlBot-hermetic.yaml b/java-cloudsecuritycompliance/.OwlBot-hermetic.yaml index 6b8778a312d7..661a74d08487 100644 --- a/java-cloudsecuritycompliance/.OwlBot-hermetic.yaml +++ b/java-cloudsecuritycompliance/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudsecuritycompliance/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudsecuritycompliance/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudsecuritycompliance/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudsecuritycompliance/README.md b/java-cloudsecuritycompliance/README.md index a5da314aea7e..166be84f36a9 100644 --- a/java-cloudsecuritycompliance/README.md +++ b/java-cloudsecuritycompliance/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsecuritycompliance - 0.15.0 + 0.16.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.15.0' +implementation 'com.google.cloud:google-cloud-cloudsecuritycompliance:0.16.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsecuritycompliance" % "0.16.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsecuritycompliance/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsecuritycompliance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.15.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsecuritycompliance/0.16.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudsecuritycompliance/google-cloud-cloudsecuritycompliance/src/main/java/com/google/cloud/cloudsecuritycompliance/v1/stub/Version.java b/java-cloudsecuritycompliance/google-cloud-cloudsecuritycompliance/src/main/java/com/google/cloud/cloudsecuritycompliance/v1/stub/Version.java index 00b15e3b2f20..e62b9bb183d8 100644 --- a/java-cloudsecuritycompliance/google-cloud-cloudsecuritycompliance/src/main/java/com/google/cloud/cloudsecuritycompliance/v1/stub/Version.java +++ b/java-cloudsecuritycompliance/google-cloud-cloudsecuritycompliance/src/main/java/com/google/cloud/cloudsecuritycompliance/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudsecuritycompliance:current} - static final String VERSION = "0.16.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudsupport/.OwlBot-hermetic.yaml b/java-cloudsupport/.OwlBot-hermetic.yaml index 6e6eb45fbd65..e61cf246b9a7 100644 --- a/java-cloudsupport/.OwlBot-hermetic.yaml +++ b/java-cloudsupport/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-cloudsupport/samples/snippets/generated" deep-preserve-regex: +- "/java-cloudsupport/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-cloudsupport/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-cloudsupport/README.md b/java-cloudsupport/README.md index 0771759be9fb..a295d397634d 100644 --- a/java-cloudsupport/README.md +++ b/java-cloudsupport/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-cloudsupport - 0.72.0 + 0.73.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-cloudsupport:0.72.0' +implementation 'com.google.cloud:google-cloud-cloudsupport:0.73.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.72.0" +libraryDependencies += "com.google.cloud" % "google-cloud-cloudsupport" % "0.73.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-cloudsupport/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-cloudsupport.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.72.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-cloudsupport/0.73.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2/stub/Version.java b/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2/stub/Version.java index 0791310e0776..61b12d72d1de 100644 --- a/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2/stub/Version.java +++ b/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudsupport:current} - static final String VERSION = "0.73.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2beta/stub/Version.java b/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2beta/stub/Version.java index f30c978eb15a..03a0dd970f90 100644 --- a/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2beta/stub/Version.java +++ b/java-cloudsupport/google-cloud-cloudsupport/src/main/java/com/google/cloud/support/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-cloudsupport:current} - static final String VERSION = "0.73.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-compute/.OwlBot-hermetic.yaml b/java-compute/.OwlBot-hermetic.yaml index 9d52b7c18513..8e577b42edfd 100644 --- a/java-compute/.OwlBot-hermetic.yaml +++ b/java-compute/.OwlBot-hermetic.yaml @@ -19,6 +19,7 @@ deep-remove-regex: - "/java-compute/samples/snippets/generated" deep-preserve-regex: +- "/java-compute/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-compute/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/integration" diff --git a/java-compute/README.md b/java-compute/README.md index 237890b2816c..956f0dc9c912 100644 --- a/java-compute/README.md +++ b/java-compute/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-compute - 1.98.0 + 1.99.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-compute:1.98.0' +implementation 'com.google.cloud:google-cloud-compute:1.99.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.98.0" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.99.0" ``` ## Authentication @@ -238,7 +238,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-compute/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-compute.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.98.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-compute/1.99.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/Version.java b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/Version.java index 9b723a20d21e..2797a20d1153 100644 --- a/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/Version.java +++ b/java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-compute:current} - static final String VERSION = "1.99.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-confidentialcomputing/.OwlBot-hermetic.yaml b/java-confidentialcomputing/.OwlBot-hermetic.yaml index a61164024e7e..0d31ea0962f0 100644 --- a/java-confidentialcomputing/.OwlBot-hermetic.yaml +++ b/java-confidentialcomputing/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-confidentialcomputing/samples/snippets/generated" deep-preserve-regex: +- "/java-confidentialcomputing/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-confidentialcomputing/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-confidentialcomputing/README.md b/java-confidentialcomputing/README.md index 79f9970f758b..46d03bdc9f50 100644 --- a/java-confidentialcomputing/README.md +++ b/java-confidentialcomputing/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-confidentialcomputing - 0.74.0 + 0.75.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.74.0' +implementation 'com.google.cloud:google-cloud-confidentialcomputing:0.75.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.74.0" +libraryDependencies += "com.google.cloud" % "google-cloud-confidentialcomputing" % "0.75.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-confidentialcomputing/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-confidentialcomputing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.74.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-confidentialcomputing/0.75.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1/stub/Version.java b/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1/stub/Version.java index 2dbd046c7c45..e8145ef9a751 100644 --- a/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1/stub/Version.java +++ b/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-confidentialcomputing:current} - static final String VERSION = "0.75.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1alpha1/stub/Version.java b/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1alpha1/stub/Version.java index 0ade171e22e8..c23a9f0ceda8 100644 --- a/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1alpha1/stub/Version.java +++ b/java-confidentialcomputing/google-cloud-confidentialcomputing/src/main/java/com/google/cloud/confidentialcomputing/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-confidentialcomputing:current} - static final String VERSION = "0.75.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-configdelivery/.OwlBot-hermetic.yaml b/java-configdelivery/.OwlBot-hermetic.yaml index e3c96195b8f2..73a6bd994c5b 100644 --- a/java-configdelivery/.OwlBot-hermetic.yaml +++ b/java-configdelivery/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-configdelivery/samples/snippets/generated" deep-preserve-regex: +- "/java-configdelivery/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-configdelivery/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-configdelivery/README.md b/java-configdelivery/README.md index 7405855061d4..f6bae9d3c28e 100644 --- a/java-configdelivery/README.md +++ b/java-configdelivery/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-configdelivery - 0.22.0 + 0.23.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-configdelivery:0.22.0' +implementation 'com.google.cloud:google-cloud-configdelivery:0.23.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.22.0" +libraryDependencies += "com.google.cloud" % "google-cloud-configdelivery" % "0.23.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-configdelivery/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-configdelivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.22.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-configdelivery/0.23.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1/stub/Version.java b/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1/stub/Version.java index 5150b71625b2..83aa7a328570 100644 --- a/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1/stub/Version.java +++ b/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-configdelivery:current} - static final String VERSION = "0.23.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1beta/stub/Version.java b/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1beta/stub/Version.java index dd852d2c3107..bd97e02565bf 100644 --- a/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1beta/stub/Version.java +++ b/java-configdelivery/google-cloud-configdelivery/src/main/java/com/google/cloud/configdelivery/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-configdelivery:current} - static final String VERSION = "0.23.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-connectgateway/.OwlBot-hermetic.yaml b/java-connectgateway/.OwlBot-hermetic.yaml index eb7cc8bfa1f4..3d549a28e167 100644 --- a/java-connectgateway/.OwlBot-hermetic.yaml +++ b/java-connectgateway/.OwlBot-hermetic.yaml @@ -19,6 +19,7 @@ deep-remove-regex: - "/java-connectgateway/samples/snippets/generated" deep-preserve-regex: +- "/java-connectgateway/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-connectgateway/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-connectgateway/README.md b/java-connectgateway/README.md index aefe087c4b99..6993b8514bfd 100644 --- a/java-connectgateway/README.md +++ b/java-connectgateway/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-connectgateway - 0.40.0 + 0.41.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-connectgateway:0.40.0' +implementation 'com.google.cloud:google-cloud-connectgateway:0.41.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.40.0" +libraryDependencies += "com.google.cloud" % "google-cloud-connectgateway" % "0.41.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-connectgateway/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-connectgateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.40.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-connectgateway/0.41.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-connectgateway/google-cloud-connectgateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1/stub/Version.java b/java-connectgateway/google-cloud-connectgateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1/stub/Version.java index 6a9bd9477615..9b6e920b09bb 100644 --- a/java-connectgateway/google-cloud-connectgateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1/stub/Version.java +++ b/java-connectgateway/google-cloud-connectgateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-connectgateway:current} - static final String VERSION = "0.41.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-contact-center-insights/README.md b/java-contact-center-insights/README.md index 3a4b8082d91b..be1624841358 100644 --- a/java-contact-center-insights/README.md +++ b/java-contact-center-insights/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contact-center-insights - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contact-center-insights:2.88.0' +implementation 'com.google.cloud:google-cloud-contact-center-insights:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contact-center-insights" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contact-center-insights/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contact-center-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contact-center-insights/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/Version.java b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/Version.java index 5dc2a9c54b2c..41d14e1bc2d9 100644 --- a/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/Version.java +++ b/java-contact-center-insights/google-cloud-contact-center-insights/src/main/java/com/google/cloud/contactcenterinsights/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-contact-center-insights:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-container/.OwlBot-hermetic.yaml b/java-container/.OwlBot-hermetic.yaml index 9957f8107cf0..373a1bcf16c0 100644 --- a/java-container/.OwlBot-hermetic.yaml +++ b/java-container/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-container/samples/snippets/generated" deep-preserve-regex: +- "/java-container/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/SampleApp.java" - "/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java" - "/java-container/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/Util.java" diff --git a/java-container/README.md b/java-container/README.md index d6d9311468f6..d0532c184176 100644 --- a/java-container/README.md +++ b/java-container/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-container - 2.91.0 + 2.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-container:2.91.0' +implementation 'com.google.cloud:google-cloud-container:2.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-container" % "2.92.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-container/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/Version.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/Version.java index 48a49d19d546..edde8565c446 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/Version.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-container:current} - static final String VERSION = "2.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/Version.java b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/Version.java index 33e2a088de6f..e18714d629e7 100644 --- a/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/Version.java +++ b/java-container/google-cloud-container/src/main/java/com/google/cloud/container/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-container:current} - static final String VERSION = "2.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-containeranalysis/.OwlBot-hermetic.yaml b/java-containeranalysis/.OwlBot-hermetic.yaml index 7816d3b7bb80..d5639fc4d646 100644 --- a/java-containeranalysis/.OwlBot-hermetic.yaml +++ b/java-containeranalysis/.OwlBot-hermetic.yaml @@ -21,6 +21,7 @@ deep-remove-regex: # TODO: remove resource name classes in next major update deep-preserve-regex: +- "/java-containeranalysis/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-containeranalysis/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/GrafeasUtils.java" - "/java-containeranalysis/google-cloud-containeranalysis/src/test/java/com/google/cloud/devtools/containeranalysis/v1/ITGrafeasInteropTest.java" diff --git a/java-containeranalysis/README.md b/java-containeranalysis/README.md index 196b44d1a9c6..dd5d335de56e 100644 --- a/java-containeranalysis/README.md +++ b/java-containeranalysis/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-containeranalysis - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-containeranalysis:2.89.0' +implementation 'com.google.cloud:google-cloud-containeranalysis:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-containeranalysis" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-containeranalysis/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-containeranalysis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-containeranalysis/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/Version.java b/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/Version.java index 33d58aa55204..9ef0ccd29155 100644 --- a/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/Version.java +++ b/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-containeranalysis:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/Version.java b/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/Version.java index aaf89e790720..f306b3db73f0 100644 --- a/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/Version.java +++ b/java-containeranalysis/google-cloud-containeranalysis/src/main/java/com/google/cloud/devtools/containeranalysis/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-containeranalysis:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-contentwarehouse/.OwlBot-hermetic.yaml b/java-contentwarehouse/.OwlBot-hermetic.yaml index cf6b3d73f489..60decd0d9682 100644 --- a/java-contentwarehouse/.OwlBot-hermetic.yaml +++ b/java-contentwarehouse/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-contentwarehouse/samples/snippets/generated" deep-preserve-regex: +- "/java-contentwarehouse/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-contentwarehouse/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-contentwarehouse/README.md b/java-contentwarehouse/README.md index 762d9438172a..461a6bd656b5 100644 --- a/java-contentwarehouse/README.md +++ b/java-contentwarehouse/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-contentwarehouse - 0.84.0 + 0.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-contentwarehouse:0.84.0' +implementation 'com.google.cloud:google-cloud-contentwarehouse:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-contentwarehouse" % "0.85.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-contentwarehouse/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-contentwarehouse.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-contentwarehouse/0.85.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-contentwarehouse/google-cloud-contentwarehouse/src/main/java/com/google/cloud/contentwarehouse/v1/stub/Version.java b/java-contentwarehouse/google-cloud-contentwarehouse/src/main/java/com/google/cloud/contentwarehouse/v1/stub/Version.java index 54d5dc6ac288..ca269ff02e86 100644 --- a/java-contentwarehouse/google-cloud-contentwarehouse/src/main/java/com/google/cloud/contentwarehouse/v1/stub/Version.java +++ b/java-contentwarehouse/google-cloud-contentwarehouse/src/main/java/com/google/cloud/contentwarehouse/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-contentwarehouse:current} - static final String VERSION = "0.85.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-data-fusion/.OwlBot-hermetic.yaml b/java-data-fusion/.OwlBot-hermetic.yaml index cad6ff33b862..459284a72fde 100644 --- a/java-data-fusion/.OwlBot-hermetic.yaml +++ b/java-data-fusion/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-data-fusion/google-.*/src" deep-preserve-regex: +- "/java-data-fusion/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-data-fusion/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-data-fusion/README.md b/java-data-fusion/README.md index 516b01eca169..19361a3578d1 100644 --- a/java-data-fusion/README.md +++ b/java-data-fusion/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-data-fusion - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-data-fusion:1.88.0' +implementation 'com.google.cloud:google-cloud-data-fusion:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-data-fusion" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-data-fusion/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-data-fusion.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-data-fusion/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/Version.java b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/Version.java index 0b20e07bf866..d759c168b338 100644 --- a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/Version.java +++ b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-data-fusion:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/Version.java b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/Version.java index 7bcdc1d2ce35..fa5b992a604d 100644 --- a/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/Version.java +++ b/java-data-fusion/google-cloud-data-fusion/src/main/java/com/google/cloud/datafusion/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-data-fusion:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-databasecenter/.OwlBot-hermetic.yaml b/java-databasecenter/.OwlBot-hermetic.yaml index 01c5b3d486e4..be060caf870d 100644 --- a/java-databasecenter/.OwlBot-hermetic.yaml +++ b/java-databasecenter/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-databasecenter/samples/snippets/generated" deep-preserve-regex: +- "/java-databasecenter/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-databasecenter/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-databasecenter/README.md b/java-databasecenter/README.md index 53e7d50b33c7..88d6c667a0b6 100644 --- a/java-databasecenter/README.md +++ b/java-databasecenter/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-databasecenter - 0.9.0 + 0.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-databasecenter:0.9.0' +implementation 'com.google.cloud:google-cloud-databasecenter:0.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-databasecenter" % "0.10.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-databasecenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-databasecenter/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/Version.java b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/Version.java index 12e1933f0671..d53b9d6cde05 100644 --- a/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/Version.java +++ b/java-databasecenter/google-cloud-databasecenter/src/main/java/com/google/cloud/databasecenter/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-databasecenter:current} - static final String VERSION = "0.10.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datacatalog/.OwlBot-hermetic.yaml b/java-datacatalog/.OwlBot-hermetic.yaml index c7e741ac0f19..d4d18c423b12 100644 --- a/java-datacatalog/.OwlBot-hermetic.yaml +++ b/java-datacatalog/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-datacatalog/google-.*/src" deep-preserve-regex: +- "/java-datacatalog/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-datacatalog/google-cloud-datacatalog/src/test/java/com/google/cloud/datacatalog/v1beta1/it/ITSystemTest.java" - "/java-datacatalog/proto-google-cloud-datacatalog-v1beta1/src/main/java/com/google/cloud/datacatalog/v1beta1/FieldName.java" diff --git a/java-datacatalog/README.md b/java-datacatalog/README.md index b8fbb4d57256..63a544b6d2ac 100644 --- a/java-datacatalog/README.md +++ b/java-datacatalog/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datacatalog - 1.94.0 + 1.95.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datacatalog:1.94.0' +implementation 'com.google.cloud:google-cloud-datacatalog:1.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datacatalog" % "1.95.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datacatalog/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datacatalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datacatalog/1.95.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/Version.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/Version.java index c0ab43f03e50..3a0dcfeaf779 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/Version.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datacatalog:current} - static final String VERSION = "1.95.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/Version.java b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/Version.java index b4937d1e87d4..fc94f2ca5da4 100644 --- a/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/Version.java +++ b/java-datacatalog/google-cloud-datacatalog/src/main/java/com/google/cloud/datacatalog/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datacatalog:current} - static final String VERSION = "1.95.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataflow/.OwlBot-hermetic.yaml b/java-dataflow/.OwlBot-hermetic.yaml index 29dfb38df8cb..26cf3e65620b 100644 --- a/java-dataflow/.OwlBot-hermetic.yaml +++ b/java-dataflow/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dataflow/samples/snippets/generated" deep-preserve-regex: +- "/java-dataflow/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dataflow/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-dataflow/README.md b/java-dataflow/README.md index c869bf468558..a7fe225afc6c 100644 --- a/java-dataflow/README.md +++ b/java-dataflow/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataflow - 0.92.0 + 0.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataflow:0.92.0' +implementation 'com.google.cloud:google-cloud-dataflow:0.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataflow" % "0.93.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataflow/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataflow/0.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/Version.java b/java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/Version.java index c8c9dd0c4925..17dec97a3ee2 100644 --- a/java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/Version.java +++ b/java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataflow:current} - static final String VERSION = "0.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataform/.OwlBot-hermetic.yaml b/java-dataform/.OwlBot-hermetic.yaml index 14297911eee2..04433448bee7 100644 --- a/java-dataform/.OwlBot-hermetic.yaml +++ b/java-dataform/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dataform/samples/snippets/generated" deep-preserve-regex: +- "/java-dataform/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dataform/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-dataform/README.md b/java-dataform/README.md index 9e87b4a4a1f8..a18fa7d1218a 100644 --- a/java-dataform/README.md +++ b/java-dataform/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataform - 0.87.0 + 0.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataform:0.87.0' +implementation 'com.google.cloud:google-cloud-dataform:0.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataform" % "0.88.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataform/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataform.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataform/0.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1/stub/Version.java b/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1/stub/Version.java index 72b7d93e1460..07c281f382e8 100644 --- a/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1/stub/Version.java +++ b/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataform:current} - static final String VERSION = "0.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/Version.java b/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/Version.java index af51dddaa739..12397ce66a57 100644 --- a/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/Version.java +++ b/java-dataform/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataform:current} - static final String VERSION = "0.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datalabeling/.OwlBot-hermetic.yaml b/java-datalabeling/.OwlBot-hermetic.yaml index aa890256a0d2..43bd40f840d6 100644 --- a/java-datalabeling/.OwlBot-hermetic.yaml +++ b/java-datalabeling/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-datalabeling/google-.*/src" deep-preserve-regex: +- "/java-datalabeling/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-datalabeling/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/v1beta1/it/ITSystemTest.java" - "/java-datalabeling/google-cloud-datalabeling/src/test/java/com/google/cloud/datalabeling/it/ITSystemTest.java" diff --git a/java-datalabeling/README.md b/java-datalabeling/README.md index 4818e2b453f6..a774eb8812db 100644 --- a/java-datalabeling/README.md +++ b/java-datalabeling/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalabeling - 0.208.0 + 0.209.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalabeling:0.208.0' +implementation 'com.google.cloud:google-cloud-datalabeling:0.209.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.208.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalabeling" % "0.209.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalabeling.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.208.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalabeling/0.209.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/stub/Version.java b/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/stub/Version.java index 86c9e123871b..ed0ef4b88929 100644 --- a/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/stub/Version.java +++ b/java-datalabeling/google-cloud-datalabeling/src/main/java/com/google/cloud/datalabeling/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datalabeling:current} - static final String VERSION = "0.209.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datalineage/.OwlBot-hermetic.yaml b/java-datalineage/.OwlBot-hermetic.yaml index 1d8c3d360b88..bf018fb6e91e 100644 --- a/java-datalineage/.OwlBot-hermetic.yaml +++ b/java-datalineage/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-datalineage/samples/snippets/generated" deep-preserve-regex: +- "/java-datalineage/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-datalineage/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-datalineage/README.md b/java-datalineage/README.md index 343dd84dc83e..78bdf324a728 100644 --- a/java-datalineage/README.md +++ b/java-datalineage/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datalineage - 0.80.0 + 0.81.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datalineage:0.80.0' +implementation 'com.google.cloud:google-cloud-datalineage:0.81.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.80.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datalineage" % "0.81.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datalineage/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datalineage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.80.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datalineage/0.81.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/Version.java b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/Version.java index 68b97cbed34e..04deee00b798 100644 --- a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/Version.java +++ b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/configmanagement/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datalineage:current} - static final String VERSION = "0.81.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/v1/stub/Version.java b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/v1/stub/Version.java index 0532531389a9..8618914443cf 100644 --- a/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/v1/stub/Version.java +++ b/java-datalineage/google-cloud-datalineage/src/main/java/com/google/cloud/datacatalog/lineage/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datalineage:current} - static final String VERSION = "0.81.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datamanager/.OwlBot-hermetic.yaml b/java-datamanager/.OwlBot-hermetic.yaml index b6c852f2a3f6..362c6e24424d 100644 --- a/java-datamanager/.OwlBot-hermetic.yaml +++ b/java-datamanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-datamanager/samples/snippets/generated" deep-preserve-regex: +- "/java-datamanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-datamanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-datamanager/README.md b/java-datamanager/README.md index 07df0e122ebe..b0cb73f94e1e 100644 --- a/java-datamanager/README.md +++ b/java-datamanager/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.api-ads data-manager - 0.9.0 + 0.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.api-ads:data-manager:0.9.0' +implementation 'com.google.api-ads:data-manager:0.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.api-ads" % "data-manager" % "0.9.0" +libraryDependencies += "com.google.api-ads" % "data-manager" % "0.10.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/data-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/data-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/data-manager/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datamanager/data-manager/src/main/java/com/google/ads/datamanager/v1/stub/Version.java b/java-datamanager/data-manager/src/main/java/com/google/ads/datamanager/v1/stub/Version.java index 4a5a6a7502f0..136eaeb10ea0 100644 --- a/java-datamanager/data-manager/src/main/java/com/google/ads/datamanager/v1/stub/Version.java +++ b/java-datamanager/data-manager/src/main/java/com/google/ads/datamanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:data-manager:current} - static final String VERSION = "0.10.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataplex/.OwlBot-hermetic.yaml b/java-dataplex/.OwlBot-hermetic.yaml index 26da7b54f2a3..0afb53843e8b 100644 --- a/java-dataplex/.OwlBot-hermetic.yaml +++ b/java-dataplex/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dataplex/google-.*/src" deep-preserve-regex: +- "/java-dataplex/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dataplex/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-dataplex/README.md b/java-dataplex/README.md index 4a9c0c30cb70..74e8efc1b163 100644 --- a/java-dataplex/README.md +++ b/java-dataplex/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataplex - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataplex:1.86.0' +implementation 'com.google.cloud:google-cloud-dataplex:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataplex/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataplex.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataplex/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/Version.java b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/Version.java index 9b8529640cb5..3f38af2e38cf 100644 --- a/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/Version.java +++ b/java-dataplex/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataplex:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java index 7d657f076cf9..a087ae2f0103 100644 --- a/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java +++ b/java-dataplex/grpc-google-cloud-dataplex-v1/src/main/java/com/google/cloud/dataplex/v1/ContentServiceGrpc.java @@ -15,6 +15,7 @@ */ package com.google.cloud.dataplex.v1; + /** * * diff --git a/java-dataproc-metastore/.OwlBot-hermetic.yaml b/java-dataproc-metastore/.OwlBot-hermetic.yaml index 33622235d5f3..7d8ffe9ad583 100644 --- a/java-dataproc-metastore/.OwlBot-hermetic.yaml +++ b/java-dataproc-metastore/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dataproc-metastore/samples/snippets/generated" deep-preserve-regex: +- "/java-dataproc-metastore/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dataproc-metastore/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-dataproc-metastore/README.md b/java-dataproc-metastore/README.md index d0740ae802fe..45d2738e0aff 100644 --- a/java-dataproc-metastore/README.md +++ b/java-dataproc-metastore/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc-metastore - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.89.0' +implementation 'com.google.cloud:google-cloud-dataproc-metastore:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc-metastore" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc-metastore/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc-metastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc-metastore/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1/stub/Version.java b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1/stub/Version.java index 9183ba21f75c..b6612bc9d20c 100644 --- a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1/stub/Version.java +++ b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataproc-metastore:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1alpha/stub/Version.java b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1alpha/stub/Version.java index bc8b29a6e67b..17a19216a0c6 100644 --- a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1alpha/stub/Version.java +++ b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataproc-metastore:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1beta/stub/Version.java b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1beta/stub/Version.java index cbef5a1dac93..fcd8ac2c6f38 100644 --- a/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1beta/stub/Version.java +++ b/java-dataproc-metastore/google-cloud-dataproc-metastore/src/main/java/com/google/cloud/metastore/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataproc-metastore:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataproc/.OwlBot-hermetic.yaml b/java-dataproc/.OwlBot-hermetic.yaml index d9e6c8af096c..fa18af7693af 100644 --- a/java-dataproc/.OwlBot-hermetic.yaml +++ b/java-dataproc/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dataproc/google-.*/src" deep-preserve-regex: +- "/java-dataproc/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dataproc/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v.*/it/ITSystemTest.java" deep-copy-regex: diff --git a/java-dataproc/README.md b/java-dataproc/README.md index 5c8f9f4e008e..eab51c704850 100644 --- a/java-dataproc/README.md +++ b/java-dataproc/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dataproc - 4.85.0 + 4.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dataproc:4.85.0' +implementation 'com.google.cloud:google-cloud-dataproc:4.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dataproc/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dataproc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dataproc/4.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/Version.java b/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/Version.java index 4978457983fa..091d1931b64b 100644 --- a/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/Version.java +++ b/java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dataproc:current} - static final String VERSION = "4.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dataproc/google-cloud-dataproc/src/main/resources/META-INF/native-image/com.google.cloud.dataproc.v1/reflect-config.json b/java-dataproc/google-cloud-dataproc/src/main/resources/META-INF/native-image/com.google.cloud.dataproc.v1/reflect-config.json index 6f8076c7529c..4cbeace67205 100644 --- a/java-dataproc/google-cloud-dataproc/src/main/resources/META-INF/native-image/com.google.cloud.dataproc.v1/reflect-config.json +++ b/java-dataproc/google-cloud-dataproc/src/main/resources/META-INF/native-image/com.google.cloud.dataproc.v1/reflect-config.json @@ -809,6 +809,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.dataproc.v1.ClusterConfig$Engine", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.dataproc.v1.ClusterMetrics", "queryAllDeclaredConstructors": true, diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java index 2c604e8dd7c4..5211cfaceb4d 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfig.java @@ -54,6 +54,7 @@ private ClusterConfig(com.google.protobuf.GeneratedMessage.Builder builder) { private ClusterConfig() { clusterType_ = 0; clusterTier_ = 0; + engine_ = 0; configBucket_ = ""; tempBucket_ = ""; initializationActions_ = java.util.Collections.emptyList(); @@ -438,6 +439,175 @@ private ClusterTier(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.ClusterConfig.ClusterTier) } + /** + * + * + *
+   * The cluster engine.
+   * 
+ * + * Protobuf enum {@code google.cloud.dataproc.v1.ClusterConfig.Engine} + */ + public enum Engine implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * The engine is not specified. Works the same as ENGINE_DEFAULT.
+     * 
+ * + * ENGINE_UNSPECIFIED = 0; + */ + ENGINE_UNSPECIFIED(0), + /** + * + * + *
+     * The cluster is a default engine cluster.
+     * 
+ * + * DEFAULT = 1; + */ + DEFAULT(1), + /** + * + * + *
+     * The cluster is a lightning engine cluster.
+     * 
+ * + * LIGHTNING = 2; + */ + LIGHTNING(2), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Engine"); + } + + /** + * + * + *
+     * The engine is not specified. Works the same as ENGINE_DEFAULT.
+     * 
+ * + * ENGINE_UNSPECIFIED = 0; + */ + public static final int ENGINE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
+     * The cluster is a default engine cluster.
+     * 
+ * + * DEFAULT = 1; + */ + public static final int DEFAULT_VALUE = 1; + + /** + * + * + *
+     * The cluster is a lightning engine cluster.
+     * 
+ * + * LIGHTNING = 2; + */ + public static final int LIGHTNING_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Engine valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Engine forNumber(int value) { + switch (value) { + case 0: + return ENGINE_UNSPECIFIED; + case 1: + return DEFAULT; + case 2: + return LIGHTNING; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Engine findValueByNumber(int number) { + return Engine.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataproc.v1.ClusterConfig.getDescriptor().getEnumTypes().get(2); + } + + private static final Engine[] VALUES = values(); + + public static Engine valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Engine(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.ClusterConfig.Engine) + } + private int bitField0_; public static final int CLUSTER_TYPE_FIELD_NUMBER = 27; private int clusterType_ = 0; @@ -525,6 +695,47 @@ public com.google.cloud.dataproc.v1.ClusterConfig.ClusterTier getClusterTier() { : result; } + public static final int ENGINE_FIELD_NUMBER = 30; + private int engine_ = 0; + + /** + * + * + *
+   * Optional. The cluster engine.
+   * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for engine. + */ + @java.lang.Override + public int getEngineValue() { + return engine_; + } + + /** + * + * + *
+   * Optional. The cluster engine.
+   * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The engine. + */ + @java.lang.Override + public com.google.cloud.dataproc.v1.ClusterConfig.Engine getEngine() { + com.google.cloud.dataproc.v1.ClusterConfig.Engine result = + com.google.cloud.dataproc.v1.ClusterConfig.Engine.forNumber(engine_); + return result == null ? com.google.cloud.dataproc.v1.ClusterConfig.Engine.UNRECOGNIZED : result; + } + public static final int CONFIG_BUCKET_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -1705,6 +1916,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io .getNumber()) { output.writeEnum(29, clusterTier_); } + if (engine_ + != com.google.cloud.dataproc.v1.ClusterConfig.Engine.ENGINE_UNSPECIFIED.getNumber()) { + output.writeEnum(30, engine_); + } getUnknownFields().writeTo(output); } @@ -1777,6 +1992,10 @@ public int getSerializedSize() { .getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(29, clusterTier_); } + if (engine_ + != com.google.cloud.dataproc.v1.ClusterConfig.Engine.ENGINE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(30, engine_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1795,6 +2014,7 @@ public boolean equals(final java.lang.Object obj) { if (clusterType_ != other.clusterType_) return false; if (clusterTier_ != other.clusterTier_) return false; + if (engine_ != other.engine_) return false; if (!getConfigBucket().equals(other.getConfigBucket())) return false; if (!getTempBucket().equals(other.getTempBucket())) return false; if (hasGceClusterConfig() != other.hasGceClusterConfig()) return false; @@ -1862,6 +2082,8 @@ public int hashCode() { hash = (53 * hash) + clusterType_; hash = (37 * hash) + CLUSTER_TIER_FIELD_NUMBER; hash = (53 * hash) + clusterTier_; + hash = (37 * hash) + ENGINE_FIELD_NUMBER; + hash = (53 * hash) + engine_; hash = (37 * hash) + CONFIG_BUCKET_FIELD_NUMBER; hash = (53 * hash) + getConfigBucket().hashCode(); hash = (37 * hash) + TEMP_BUCKET_FIELD_NUMBER; @@ -2086,6 +2308,7 @@ public Builder clear() { bitField0_ = 0; clusterType_ = 0; clusterTier_ = 0; + engine_ = 0; configBucket_ = ""; tempBucket_ = ""; gceClusterConfig_ = null; @@ -2119,7 +2342,7 @@ public Builder clear() { initializationActions_ = null; initializationActionsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); encryptionConfig_ = null; if (encryptionConfigBuilder_ != null) { encryptionConfigBuilder_.dispose(); @@ -2161,7 +2384,7 @@ public Builder clear() { auxiliaryNodeGroups_ = null; auxiliaryNodeGroupsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); return this; } @@ -2199,18 +2422,18 @@ public com.google.cloud.dataproc.v1.ClusterConfig buildPartial() { private void buildPartialRepeatedFields(com.google.cloud.dataproc.v1.ClusterConfig result) { if (initializationActionsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } result.initializationActions_ = initializationActions_; } else { result.initializationActions_ = initializationActionsBuilder_.build(); } if (auxiliaryNodeGroupsBuilder_ == null) { - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { auxiliaryNodeGroups_ = java.util.Collections.unmodifiableList(auxiliaryNodeGroups_); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); } result.auxiliaryNodeGroups_ = auxiliaryNodeGroups_; } else { @@ -2227,72 +2450,75 @@ private void buildPartial0(com.google.cloud.dataproc.v1.ClusterConfig result) { result.clusterTier_ = clusterTier_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.configBucket_ = configBucket_; + result.engine_ = engine_; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.configBucket_ = configBucket_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { result.tempBucket_ = tempBucket_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.gceClusterConfig_ = gceClusterConfigBuilder_ == null ? gceClusterConfig_ : gceClusterConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.masterConfig_ = masterConfigBuilder_ == null ? masterConfig_ : masterConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.workerConfig_ = workerConfigBuilder_ == null ? workerConfig_ : workerConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.secondaryWorkerConfig_ = secondaryWorkerConfigBuilder_ == null ? secondaryWorkerConfig_ : secondaryWorkerConfigBuilder_.build(); to_bitField0_ |= 0x00000008; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.softwareConfig_ = softwareConfigBuilder_ == null ? softwareConfig_ : softwareConfigBuilder_.build(); to_bitField0_ |= 0x00000010; } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00000800) != 0)) { result.encryptionConfig_ = encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build(); to_bitField0_ |= 0x00000020; } - if (((from_bitField0_ & 0x00000800) != 0)) { + if (((from_bitField0_ & 0x00001000) != 0)) { result.autoscalingConfig_ = autoscalingConfigBuilder_ == null ? autoscalingConfig_ : autoscalingConfigBuilder_.build(); to_bitField0_ |= 0x00000040; } - if (((from_bitField0_ & 0x00001000) != 0)) { + if (((from_bitField0_ & 0x00002000) != 0)) { result.securityConfig_ = securityConfigBuilder_ == null ? securityConfig_ : securityConfigBuilder_.build(); to_bitField0_ |= 0x00000080; } - if (((from_bitField0_ & 0x00002000) != 0)) { + if (((from_bitField0_ & 0x00004000) != 0)) { result.lifecycleConfig_ = lifecycleConfigBuilder_ == null ? lifecycleConfig_ : lifecycleConfigBuilder_.build(); to_bitField0_ |= 0x00000100; } - if (((from_bitField0_ & 0x00004000) != 0)) { + if (((from_bitField0_ & 0x00008000) != 0)) { result.endpointConfig_ = endpointConfigBuilder_ == null ? endpointConfig_ : endpointConfigBuilder_.build(); to_bitField0_ |= 0x00000200; } - if (((from_bitField0_ & 0x00008000) != 0)) { + if (((from_bitField0_ & 0x00010000) != 0)) { result.metastoreConfig_ = metastoreConfigBuilder_ == null ? metastoreConfig_ : metastoreConfigBuilder_.build(); to_bitField0_ |= 0x00000400; } - if (((from_bitField0_ & 0x00010000) != 0)) { + if (((from_bitField0_ & 0x00020000) != 0)) { result.dataprocMetricConfig_ = dataprocMetricConfigBuilder_ == null ? dataprocMetricConfig_ @@ -2320,14 +2546,17 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { if (other.clusterTier_ != 0) { setClusterTierValue(other.getClusterTierValue()); } + if (other.engine_ != 0) { + setEngineValue(other.getEngineValue()); + } if (!other.getConfigBucket().isEmpty()) { configBucket_ = other.configBucket_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (!other.getTempBucket().isEmpty()) { tempBucket_ = other.tempBucket_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasGceClusterConfig()) { @@ -2349,7 +2578,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { if (!other.initializationActions_.isEmpty()) { if (initializationActions_.isEmpty()) { initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } else { ensureInitializationActionsIsMutable(); initializationActions_.addAll(other.initializationActions_); @@ -2362,7 +2591,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { initializationActionsBuilder_.dispose(); initializationActionsBuilder_ = null; initializationActions_ = other.initializationActions_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); initializationActionsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetInitializationActionsFieldBuilder() @@ -2397,7 +2626,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { if (!other.auxiliaryNodeGroups_.isEmpty()) { if (auxiliaryNodeGroups_.isEmpty()) { auxiliaryNodeGroups_ = other.auxiliaryNodeGroups_; - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); } else { ensureAuxiliaryNodeGroupsIsMutable(); auxiliaryNodeGroups_.addAll(other.auxiliaryNodeGroups_); @@ -2410,7 +2639,7 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.ClusterConfig other) { auxiliaryNodeGroupsBuilder_.dispose(); auxiliaryNodeGroupsBuilder_ = null; auxiliaryNodeGroups_ = other.auxiliaryNodeGroups_; - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); auxiliaryNodeGroupsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetAuxiliaryNodeGroupsFieldBuilder() @@ -2449,34 +2678,34 @@ public Builder mergeFrom( case 10: { configBucket_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 10 case 18: { tempBucket_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 18 case 66: { input.readMessage( internalGetGceClusterConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 66 case 74: { input.readMessage( internalGetMasterConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 74 case 82: { input.readMessage( internalGetWorkerConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 82 case 90: @@ -2497,63 +2726,63 @@ public Builder mergeFrom( { input.readMessage( internalGetSecondaryWorkerConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 98 case 106: { input.readMessage( internalGetSoftwareConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 106 case 122: { input.readMessage( internalGetEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 122 case 130: { input.readMessage( internalGetSecurityConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; break; } // case 130 case 138: { input.readMessage( internalGetLifecycleConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; break; } // case 138 case 146: { input.readMessage( internalGetAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } // case 146 case 154: { input.readMessage( internalGetEndpointConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; break; } // case 154 case 162: { input.readMessage( internalGetMetastoreConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; break; } // case 162 case 186: { input.readMessage( internalGetDataprocMetricConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; break; } // case 186 case 202: @@ -2582,6 +2811,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000002; break; } // case 232 + case 240: + { + engine_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 240 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -2815,6 +3050,113 @@ public Builder clearClusterTier() { return this; } + private int engine_ = 0; + + /** + * + * + *
+     * Optional. The cluster engine.
+     * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for engine. + */ + @java.lang.Override + public int getEngineValue() { + return engine_; + } + + /** + * + * + *
+     * Optional. The cluster engine.
+     * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for engine to set. + * @return This builder for chaining. + */ + public Builder setEngineValue(int value) { + engine_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The cluster engine.
+     * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The engine. + */ + @java.lang.Override + public com.google.cloud.dataproc.v1.ClusterConfig.Engine getEngine() { + com.google.cloud.dataproc.v1.ClusterConfig.Engine result = + com.google.cloud.dataproc.v1.ClusterConfig.Engine.forNumber(engine_); + return result == null + ? com.google.cloud.dataproc.v1.ClusterConfig.Engine.UNRECOGNIZED + : result; + } + + /** + * + * + *
+     * Optional. The cluster engine.
+     * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The engine to set. + * @return This builder for chaining. + */ + public Builder setEngine(com.google.cloud.dataproc.v1.ClusterConfig.Engine value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + engine_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The cluster engine.
+     * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearEngine() { + bitField0_ = (bitField0_ & ~0x00000004); + engine_ = 0; + onChanged(); + return this; + } + private java.lang.Object configBucket_ = ""; /** @@ -2910,7 +3252,7 @@ public Builder setConfigBucket(java.lang.String value) { throw new NullPointerException(); } configBucket_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -2938,7 +3280,7 @@ public Builder setConfigBucket(java.lang.String value) { */ public Builder clearConfigBucket() { configBucket_ = getDefaultInstance().getConfigBucket(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -2971,7 +3313,7 @@ public Builder setConfigBucketBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); configBucket_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -3071,7 +3413,7 @@ public Builder setTempBucket(java.lang.String value) { throw new NullPointerException(); } tempBucket_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -3099,7 +3441,7 @@ public Builder setTempBucket(java.lang.String value) { */ public Builder clearTempBucket() { tempBucket_ = getDefaultInstance().getTempBucket(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -3132,7 +3474,7 @@ public Builder setTempBucketBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); tempBucket_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -3159,7 +3501,7 @@ public Builder setTempBucketBytes(com.google.protobuf.ByteString value) { * @return Whether the gceClusterConfig field is set. */ public boolean hasGceClusterConfig() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** @@ -3207,7 +3549,7 @@ public Builder setGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConfig } else { gceClusterConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3231,7 +3573,7 @@ public Builder setGceClusterConfig( } else { gceClusterConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -3250,7 +3592,7 @@ public Builder setGceClusterConfig( */ public Builder mergeGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConfig value) { if (gceClusterConfigBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) + if (((bitField0_ & 0x00000020) != 0) && gceClusterConfig_ != null && gceClusterConfig_ != com.google.cloud.dataproc.v1.GceClusterConfig.getDefaultInstance()) { @@ -3262,7 +3604,7 @@ public Builder mergeGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConf gceClusterConfigBuilder_.mergeFrom(value); } if (gceClusterConfig_ != null) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } return this; @@ -3281,7 +3623,7 @@ public Builder mergeGceClusterConfig(com.google.cloud.dataproc.v1.GceClusterConf * */ public Builder clearGceClusterConfig() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); gceClusterConfig_ = null; if (gceClusterConfigBuilder_ != null) { gceClusterConfigBuilder_.dispose(); @@ -3304,7 +3646,7 @@ public Builder clearGceClusterConfig() { * */ public com.google.cloud.dataproc.v1.GceClusterConfig.Builder getGceClusterConfigBuilder() { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return internalGetGceClusterConfigFieldBuilder().getBuilder(); } @@ -3382,7 +3724,7 @@ public com.google.cloud.dataproc.v1.GceClusterConfigOrBuilder getGceClusterConfi * @return Whether the masterConfig field is set. */ public boolean hasMasterConfig() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** @@ -3430,7 +3772,7 @@ public Builder setMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig } else { masterConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -3454,7 +3796,7 @@ public Builder setMasterConfig( } else { masterConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -3473,7 +3815,7 @@ public Builder setMasterConfig( */ public Builder mergeMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig value) { if (masterConfigBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) + if (((bitField0_ & 0x00000040) != 0) && masterConfig_ != null && masterConfig_ != com.google.cloud.dataproc.v1.InstanceGroupConfig.getDefaultInstance()) { @@ -3485,7 +3827,7 @@ public Builder mergeMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi masterConfigBuilder_.mergeFrom(value); } if (masterConfig_ != null) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -3504,7 +3846,7 @@ public Builder mergeMasterConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi * */ public Builder clearMasterConfig() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); masterConfig_ = null; if (masterConfigBuilder_ != null) { masterConfigBuilder_.dispose(); @@ -3527,7 +3869,7 @@ public Builder clearMasterConfig() { * */ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getMasterConfigBuilder() { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return internalGetMasterConfigFieldBuilder().getBuilder(); } @@ -3605,7 +3947,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getMasterConfig * @return Whether the workerConfig field is set. */ public boolean hasWorkerConfig() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -3653,7 +3995,7 @@ public Builder setWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig } else { workerConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -3677,7 +4019,7 @@ public Builder setWorkerConfig( } else { workerConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -3696,7 +4038,7 @@ public Builder setWorkerConfig( */ public Builder mergeWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfig value) { if (workerConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) + if (((bitField0_ & 0x00000080) != 0) && workerConfig_ != null && workerConfig_ != com.google.cloud.dataproc.v1.InstanceGroupConfig.getDefaultInstance()) { @@ -3708,7 +4050,7 @@ public Builder mergeWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi workerConfigBuilder_.mergeFrom(value); } if (workerConfig_ != null) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); } return this; @@ -3727,7 +4069,7 @@ public Builder mergeWorkerConfig(com.google.cloud.dataproc.v1.InstanceGroupConfi * */ public Builder clearWorkerConfig() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); workerConfig_ = null; if (workerConfigBuilder_ != null) { workerConfigBuilder_.dispose(); @@ -3750,7 +4092,7 @@ public Builder clearWorkerConfig() { * */ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getWorkerConfigBuilder() { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return internalGetWorkerConfigFieldBuilder().getBuilder(); } @@ -3828,7 +4170,7 @@ public com.google.cloud.dataproc.v1.InstanceGroupConfigOrBuilder getWorkerConfig * @return Whether the secondaryWorkerConfig field is set. */ public boolean hasSecondaryWorkerConfig() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -3877,7 +4219,7 @@ public Builder setSecondaryWorkerConfig( } else { secondaryWorkerConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -3901,7 +4243,7 @@ public Builder setSecondaryWorkerConfig( } else { secondaryWorkerConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -3921,7 +4263,7 @@ public Builder setSecondaryWorkerConfig( public Builder mergeSecondaryWorkerConfig( com.google.cloud.dataproc.v1.InstanceGroupConfig value) { if (secondaryWorkerConfigBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000100) != 0) && secondaryWorkerConfig_ != null && secondaryWorkerConfig_ != com.google.cloud.dataproc.v1.InstanceGroupConfig.getDefaultInstance()) { @@ -3933,7 +4275,7 @@ public Builder mergeSecondaryWorkerConfig( secondaryWorkerConfigBuilder_.mergeFrom(value); } if (secondaryWorkerConfig_ != null) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } return this; @@ -3952,7 +4294,7 @@ public Builder mergeSecondaryWorkerConfig( * */ public Builder clearSecondaryWorkerConfig() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); secondaryWorkerConfig_ = null; if (secondaryWorkerConfigBuilder_ != null) { secondaryWorkerConfigBuilder_.dispose(); @@ -3976,7 +4318,7 @@ public Builder clearSecondaryWorkerConfig() { */ public com.google.cloud.dataproc.v1.InstanceGroupConfig.Builder getSecondaryWorkerConfigBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return internalGetSecondaryWorkerConfigFieldBuilder().getBuilder(); } @@ -4054,7 +4396,7 @@ public Builder clearSecondaryWorkerConfig() { * @return Whether the softwareConfig field is set. */ public boolean hasSoftwareConfig() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -4100,7 +4442,7 @@ public Builder setSoftwareConfig(com.google.cloud.dataproc.v1.SoftwareConfig val } else { softwareConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4123,7 +4465,7 @@ public Builder setSoftwareConfig( } else { softwareConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -4141,7 +4483,7 @@ public Builder setSoftwareConfig( */ public Builder mergeSoftwareConfig(com.google.cloud.dataproc.v1.SoftwareConfig value) { if (softwareConfigBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && softwareConfig_ != null && softwareConfig_ != com.google.cloud.dataproc.v1.SoftwareConfig.getDefaultInstance()) { @@ -4153,7 +4495,7 @@ public Builder mergeSoftwareConfig(com.google.cloud.dataproc.v1.SoftwareConfig v softwareConfigBuilder_.mergeFrom(value); } if (softwareConfig_ != null) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); } return this; @@ -4171,7 +4513,7 @@ public Builder mergeSoftwareConfig(com.google.cloud.dataproc.v1.SoftwareConfig v * */ public Builder clearSoftwareConfig() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); softwareConfig_ = null; if (softwareConfigBuilder_ != null) { softwareConfigBuilder_.dispose(); @@ -4193,7 +4535,7 @@ public Builder clearSoftwareConfig() { * */ public com.google.cloud.dataproc.v1.SoftwareConfig.Builder getSoftwareConfigBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return internalGetSoftwareConfigFieldBuilder().getBuilder(); } @@ -4251,11 +4593,11 @@ public com.google.cloud.dataproc.v1.SoftwareConfigOrBuilder getSoftwareConfigOrB initializationActions_ = java.util.Collections.emptyList(); private void ensureInitializationActionsIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000400) != 0)) { initializationActions_ = new java.util.ArrayList( initializationActions_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; } } @@ -4641,7 +4983,7 @@ public Builder addAllInitializationActions( public Builder clearInitializationActions() { if (initializationActionsBuilder_ == null) { initializationActions_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { initializationActionsBuilder_.clear(); @@ -4874,7 +5216,7 @@ public Builder removeInitializationActions(int index) { com.google.cloud.dataproc.v1.NodeInitializationAction.Builder, com.google.cloud.dataproc.v1.NodeInitializationActionOrBuilder>( initializationActions_, - ((bitField0_ & 0x00000200) != 0), + ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); initializationActions_ = null; @@ -4903,7 +5245,7 @@ public Builder removeInitializationActions(int index) { * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -4949,7 +5291,7 @@ public Builder setEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConfig } else { encryptionConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4972,7 +5314,7 @@ public Builder setEncryptionConfig( } else { encryptionConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -4990,7 +5332,7 @@ public Builder setEncryptionConfig( */ public Builder mergeEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00000800) != 0) && encryptionConfig_ != null && encryptionConfig_ != com.google.cloud.dataproc.v1.EncryptionConfig.getDefaultInstance()) { @@ -5002,7 +5344,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConf encryptionConfigBuilder_.mergeFrom(value); } if (encryptionConfig_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -5020,7 +5362,7 @@ public Builder mergeEncryptionConfig(com.google.cloud.dataproc.v1.EncryptionConf * */ public Builder clearEncryptionConfig() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); encryptionConfig_ = null; if (encryptionConfigBuilder_ != null) { encryptionConfigBuilder_.dispose(); @@ -5042,7 +5384,7 @@ public Builder clearEncryptionConfig() { * */ public com.google.cloud.dataproc.v1.EncryptionConfig.Builder getEncryptionConfigBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return internalGetEncryptionConfigFieldBuilder().getBuilder(); } @@ -5118,7 +5460,7 @@ public com.google.cloud.dataproc.v1.EncryptionConfigOrBuilder getEncryptionConfi * @return Whether the autoscalingConfig field is set. */ public boolean hasAutoscalingConfig() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** @@ -5166,7 +5508,7 @@ public Builder setAutoscalingConfig(com.google.cloud.dataproc.v1.AutoscalingConf } else { autoscalingConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5190,7 +5532,7 @@ public Builder setAutoscalingConfig( } else { autoscalingConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -5209,7 +5551,7 @@ public Builder setAutoscalingConfig( */ public Builder mergeAutoscalingConfig(com.google.cloud.dataproc.v1.AutoscalingConfig value) { if (autoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) + if (((bitField0_ & 0x00001000) != 0) && autoscalingConfig_ != null && autoscalingConfig_ != com.google.cloud.dataproc.v1.AutoscalingConfig.getDefaultInstance()) { @@ -5221,7 +5563,7 @@ public Builder mergeAutoscalingConfig(com.google.cloud.dataproc.v1.AutoscalingCo autoscalingConfigBuilder_.mergeFrom(value); } if (autoscalingConfig_ != null) { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); } return this; @@ -5240,7 +5582,7 @@ public Builder mergeAutoscalingConfig(com.google.cloud.dataproc.v1.AutoscalingCo * */ public Builder clearAutoscalingConfig() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); autoscalingConfig_ = null; if (autoscalingConfigBuilder_ != null) { autoscalingConfigBuilder_.dispose(); @@ -5263,7 +5605,7 @@ public Builder clearAutoscalingConfig() { * */ public com.google.cloud.dataproc.v1.AutoscalingConfig.Builder getAutoscalingConfigBuilder() { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return internalGetAutoscalingConfigFieldBuilder().getBuilder(); } @@ -5340,7 +5682,7 @@ public com.google.cloud.dataproc.v1.AutoscalingConfigOrBuilder getAutoscalingCon * @return Whether the securityConfig field is set. */ public boolean hasSecurityConfig() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** @@ -5386,7 +5728,7 @@ public Builder setSecurityConfig(com.google.cloud.dataproc.v1.SecurityConfig val } else { securityConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5409,7 +5751,7 @@ public Builder setSecurityConfig( } else { securityConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -5427,7 +5769,7 @@ public Builder setSecurityConfig( */ public Builder mergeSecurityConfig(com.google.cloud.dataproc.v1.SecurityConfig value) { if (securityConfigBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) + if (((bitField0_ & 0x00002000) != 0) && securityConfig_ != null && securityConfig_ != com.google.cloud.dataproc.v1.SecurityConfig.getDefaultInstance()) { @@ -5439,7 +5781,7 @@ public Builder mergeSecurityConfig(com.google.cloud.dataproc.v1.SecurityConfig v securityConfigBuilder_.mergeFrom(value); } if (securityConfig_ != null) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); } return this; @@ -5457,7 +5799,7 @@ public Builder mergeSecurityConfig(com.google.cloud.dataproc.v1.SecurityConfig v * */ public Builder clearSecurityConfig() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); securityConfig_ = null; if (securityConfigBuilder_ != null) { securityConfigBuilder_.dispose(); @@ -5479,7 +5821,7 @@ public Builder clearSecurityConfig() { * */ public com.google.cloud.dataproc.v1.SecurityConfig.Builder getSecurityConfigBuilder() { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; onChanged(); return internalGetSecurityConfigFieldBuilder().getBuilder(); } @@ -5554,7 +5896,7 @@ public com.google.cloud.dataproc.v1.SecurityConfigOrBuilder getSecurityConfigOrB * @return Whether the lifecycleConfig field is set. */ public boolean hasLifecycleConfig() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** @@ -5600,7 +5942,7 @@ public Builder setLifecycleConfig(com.google.cloud.dataproc.v1.LifecycleConfig v } else { lifecycleConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5623,7 +5965,7 @@ public Builder setLifecycleConfig( } else { lifecycleConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5641,7 +5983,7 @@ public Builder setLifecycleConfig( */ public Builder mergeLifecycleConfig(com.google.cloud.dataproc.v1.LifecycleConfig value) { if (lifecycleConfigBuilder_ == null) { - if (((bitField0_ & 0x00002000) != 0) + if (((bitField0_ & 0x00004000) != 0) && lifecycleConfig_ != null && lifecycleConfig_ != com.google.cloud.dataproc.v1.LifecycleConfig.getDefaultInstance()) { @@ -5653,7 +5995,7 @@ public Builder mergeLifecycleConfig(com.google.cloud.dataproc.v1.LifecycleConfig lifecycleConfigBuilder_.mergeFrom(value); } if (lifecycleConfig_ != null) { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); } return this; @@ -5671,7 +6013,7 @@ public Builder mergeLifecycleConfig(com.google.cloud.dataproc.v1.LifecycleConfig * */ public Builder clearLifecycleConfig() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); lifecycleConfig_ = null; if (lifecycleConfigBuilder_ != null) { lifecycleConfigBuilder_.dispose(); @@ -5693,7 +6035,7 @@ public Builder clearLifecycleConfig() { * */ public com.google.cloud.dataproc.v1.LifecycleConfig.Builder getLifecycleConfigBuilder() { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; onChanged(); return internalGetLifecycleConfigFieldBuilder().getBuilder(); } @@ -5768,7 +6110,7 @@ public com.google.cloud.dataproc.v1.LifecycleConfigOrBuilder getLifecycleConfigO * @return Whether the endpointConfig field is set. */ public boolean hasEndpointConfig() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** @@ -5814,7 +6156,7 @@ public Builder setEndpointConfig(com.google.cloud.dataproc.v1.EndpointConfig val } else { endpointConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -5837,7 +6179,7 @@ public Builder setEndpointConfig( } else { endpointConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -5855,7 +6197,7 @@ public Builder setEndpointConfig( */ public Builder mergeEndpointConfig(com.google.cloud.dataproc.v1.EndpointConfig value) { if (endpointConfigBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) + if (((bitField0_ & 0x00008000) != 0) && endpointConfig_ != null && endpointConfig_ != com.google.cloud.dataproc.v1.EndpointConfig.getDefaultInstance()) { @@ -5867,7 +6209,7 @@ public Builder mergeEndpointConfig(com.google.cloud.dataproc.v1.EndpointConfig v endpointConfigBuilder_.mergeFrom(value); } if (endpointConfig_ != null) { - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); } return this; @@ -5885,7 +6227,7 @@ public Builder mergeEndpointConfig(com.google.cloud.dataproc.v1.EndpointConfig v * */ public Builder clearEndpointConfig() { - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); endpointConfig_ = null; if (endpointConfigBuilder_ != null) { endpointConfigBuilder_.dispose(); @@ -5907,7 +6249,7 @@ public Builder clearEndpointConfig() { * */ public com.google.cloud.dataproc.v1.EndpointConfig.Builder getEndpointConfigBuilder() { - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; onChanged(); return internalGetEndpointConfigFieldBuilder().getBuilder(); } @@ -5982,7 +6324,7 @@ public com.google.cloud.dataproc.v1.EndpointConfigOrBuilder getEndpointConfigOrB * @return Whether the metastoreConfig field is set. */ public boolean hasMetastoreConfig() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** @@ -6028,7 +6370,7 @@ public Builder setMetastoreConfig(com.google.cloud.dataproc.v1.MetastoreConfig v } else { metastoreConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -6051,7 +6393,7 @@ public Builder setMetastoreConfig( } else { metastoreConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -6069,7 +6411,7 @@ public Builder setMetastoreConfig( */ public Builder mergeMetastoreConfig(com.google.cloud.dataproc.v1.MetastoreConfig value) { if (metastoreConfigBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) + if (((bitField0_ & 0x00010000) != 0) && metastoreConfig_ != null && metastoreConfig_ != com.google.cloud.dataproc.v1.MetastoreConfig.getDefaultInstance()) { @@ -6081,7 +6423,7 @@ public Builder mergeMetastoreConfig(com.google.cloud.dataproc.v1.MetastoreConfig metastoreConfigBuilder_.mergeFrom(value); } if (metastoreConfig_ != null) { - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); } return this; @@ -6099,7 +6441,7 @@ public Builder mergeMetastoreConfig(com.google.cloud.dataproc.v1.MetastoreConfig * */ public Builder clearMetastoreConfig() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); metastoreConfig_ = null; if (metastoreConfigBuilder_ != null) { metastoreConfigBuilder_.dispose(); @@ -6121,7 +6463,7 @@ public Builder clearMetastoreConfig() { * */ public com.google.cloud.dataproc.v1.MetastoreConfig.Builder getMetastoreConfigBuilder() { - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; onChanged(); return internalGetMetastoreConfigFieldBuilder().getBuilder(); } @@ -6196,7 +6538,7 @@ public com.google.cloud.dataproc.v1.MetastoreConfigOrBuilder getMetastoreConfigO * @return Whether the dataprocMetricConfig field is set. */ public boolean hasDataprocMetricConfig() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** @@ -6243,7 +6585,7 @@ public Builder setDataprocMetricConfig( } else { dataprocMetricConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6266,7 +6608,7 @@ public Builder setDataprocMetricConfig( } else { dataprocMetricConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6285,7 +6627,7 @@ public Builder setDataprocMetricConfig( public Builder mergeDataprocMetricConfig( com.google.cloud.dataproc.v1.DataprocMetricConfig value) { if (dataprocMetricConfigBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) + if (((bitField0_ & 0x00020000) != 0) && dataprocMetricConfig_ != null && dataprocMetricConfig_ != com.google.cloud.dataproc.v1.DataprocMetricConfig.getDefaultInstance()) { @@ -6297,7 +6639,7 @@ public Builder mergeDataprocMetricConfig( dataprocMetricConfigBuilder_.mergeFrom(value); } if (dataprocMetricConfig_ != null) { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); } return this; @@ -6315,7 +6657,7 @@ public Builder mergeDataprocMetricConfig( * */ public Builder clearDataprocMetricConfig() { - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); dataprocMetricConfig_ = null; if (dataprocMetricConfigBuilder_ != null) { dataprocMetricConfigBuilder_.dispose(); @@ -6338,7 +6680,7 @@ public Builder clearDataprocMetricConfig() { */ public com.google.cloud.dataproc.v1.DataprocMetricConfig.Builder getDataprocMetricConfigBuilder() { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; onChanged(); return internalGetDataprocMetricConfigFieldBuilder().getBuilder(); } @@ -6397,11 +6739,11 @@ public Builder clearDataprocMetricConfig() { java.util.Collections.emptyList(); private void ensureAuxiliaryNodeGroupsIsMutable() { - if (!((bitField0_ & 0x00020000) != 0)) { + if (!((bitField0_ & 0x00040000) != 0)) { auxiliaryNodeGroups_ = new java.util.ArrayList( auxiliaryNodeGroups_); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; } } @@ -6652,7 +6994,7 @@ public Builder addAllAuxiliaryNodeGroups( public Builder clearAuxiliaryNodeGroups() { if (auxiliaryNodeGroupsBuilder_ == null) { auxiliaryNodeGroups_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); } else { auxiliaryNodeGroupsBuilder_.clear(); @@ -6799,7 +7141,7 @@ public com.google.cloud.dataproc.v1.AuxiliaryNodeGroup.Builder addAuxiliaryNodeG com.google.cloud.dataproc.v1.AuxiliaryNodeGroup.Builder, com.google.cloud.dataproc.v1.AuxiliaryNodeGroupOrBuilder>( auxiliaryNodeGroups_, - ((bitField0_ & 0x00020000) != 0), + ((bitField0_ & 0x00040000) != 0), getParentForChildren(), isClean()); auxiliaryNodeGroups_ = null; diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java index a1b2294e2353..293d6a193db0 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClusterConfigOrBuilder.java @@ -86,6 +86,36 @@ public interface ClusterConfigOrBuilder */ com.google.cloud.dataproc.v1.ClusterConfig.ClusterTier getClusterTier(); + /** + * + * + *
+   * Optional. The cluster engine.
+   * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for engine. + */ + int getEngineValue(); + + /** + * + * + *
+   * Optional. The cluster engine.
+   * 
+ * + * + * .google.cloud.dataproc.v1.ClusterConfig.Engine engine = 30 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The engine. + */ + com.google.cloud.dataproc.v1.ClusterConfig.Engine getEngine(); + /** * * diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java index e47d4f05559c..47f7b52a582d 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/ClustersProto.java @@ -291,34 +291,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132(.google.cloud.dataproc.v1.ClusterMetricsB\003\340A\003\032-\n" + "\013LabelsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\341\013\n\r" + + "\005value\030\002 \001(\t:\0028\001\"\344\014\n\r" + "ClusterConfig\022N\n" + "\014cluster_type\030\033 \001(\01623" + ".google.cloud.dataproc.v1.ClusterConfig.ClusterTypeB\003\340A\001\022N\n" + "\014cluster_tier\030\035 \001(\01623" - + ".google.cloud.dataproc.v1.ClusterConfig.ClusterTierB\003\340A\001\022\032\n\r" + + ".google.cloud.dataproc.v1.ClusterConfig.ClusterTierB\003\340A\001\022C\n" + + "\006engine\030\036 \001(\0162..googl" + + "e.cloud.dataproc.v1.ClusterConfig.EngineB\003\340A\001\022\032\n\r" + "config_bucket\030\001 \001(\tB\003\340A\001\022\030\n" + "\013temp_bucket\030\002 \001(\tB\003\340A\001\022K\n" + "\022gce_cluster_config\030\010" + " \001(\0132*.google.cloud.dataproc.v1.GceClusterConfigB\003\340A\001\022I\n\r" - + "master_config\030\t" - + " \001(\0132-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022I\n\r" + + "master_config\030\t \001(\0132" + + "-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022I\n\r" + "worker_config\030\n" + " \001(\0132-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022S\n" - + "\027secondary_worker_config\030\014" - + " \001(\0132-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022F\n" + + "\027secondary_worker_config\030\014 \001(\0132" + + "-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022F\n" + "\017software_config\030\r" + " \001(\0132(.google.cloud.dataproc.v1.SoftwareConfigB\003\340A\001\022W\n" - + "\026initialization_actions\030\013" - + " \003(\01322.google.cloud.dataproc.v1.NodeInitializationActionB\003\340A\001\022J\n" - + "\021encryption_config\030\017" - + " \001(\0132*.google.cloud.dataproc.v1.EncryptionConfigB\003\340A\001\022L\n" - + "\022autoscaling_config\030\022" - + " \001(\0132+.google.cloud.dataproc.v1.AutoscalingConfigB\003\340A\001\022F\n" - + "\017security_config\030\020 \001" - + "(\0132(.google.cloud.dataproc.v1.SecurityConfigB\003\340A\001\022H\n" - + "\020lifecycle_config\030\021 \001(\0132).go" - + "ogle.cloud.dataproc.v1.LifecycleConfigB\003\340A\001\022F\n" + + "\026initialization_actions\030\013 \003(\01322.go" + + "ogle.cloud.dataproc.v1.NodeInitializationActionB\003\340A\001\022J\n" + + "\021encryption_config\030\017 \001(\0132" + + "*.google.cloud.dataproc.v1.EncryptionConfigB\003\340A\001\022L\n" + + "\022autoscaling_config\030\022 \001(\0132+.g" + + "oogle.cloud.dataproc.v1.AutoscalingConfigB\003\340A\001\022F\n" + + "\017security_config\030\020 \001(\0132(.google" + + ".cloud.dataproc.v1.SecurityConfigB\003\340A\001\022H\n" + + "\020lifecycle_config\030\021" + + " \001(\0132).google.cloud.dataproc.v1.LifecycleConfigB\003\340A\001\022F\n" + "\017endpoint_config\030\023" + " \001(\0132(.google.cloud.dataproc.v1.EndpointConfigB\003\340A\001\022H\n" + "\020metastore_config\030\024" @@ -335,19 +337,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013ClusterTier\022\034\n" + "\030CLUSTER_TIER_UNSPECIFIED\020\000\022\031\n" + "\025CLUSTER_TIER_STANDARD\020\001\022\030\n" - + "\024CLUSTER_TIER_PREMIUM\020\002\"\204\002\n" + + "\024CLUSTER_TIER_PREMIUM\020\002\"<\n" + + "\006Engine\022\026\n" + + "\022ENGINE_UNSPECIFIED\020\000\022\013\n" + + "\007DEFAULT\020\001\022\r\n" + + "\tLIGHTNING\020\002\"\204\002\n" + "\024VirtualClusterConfig\022\033\n" + "\016staging_bucket\030\001 \001(\tB\003\340A\001\022[\n" - + "\031kubernetes_cluster_config\030\006 \001(\01321.go" - + "ogle.cloud.dataproc.v1.KubernetesClusterConfigB\003\340A\002H\000\022Y\n" + + "\031kubernetes_cluster_config\030\006" + + " \001(\01321.google.cloud.dataproc.v1.KubernetesClusterConfigB\003\340A\002H\000\022Y\n" + "\031auxiliary_services_config\030\007" + " \001(\01321.google.cloud.dataproc.v1.AuxiliaryServicesConfigB\003\340A\001B\027\n" + "\025infrastructure_config\"\301\001\n" + "\027AuxiliaryServicesConfig\022H\n" - + "\020metastore_config\030\001" - + " \001(\0132).google.cloud.dataproc.v1.MetastoreConfigB\003\340A\001\022\\\n" - + "\033spark_history_server_config\030\002 \001(\01322.google.cl" - + "oud.dataproc.v1.SparkHistoryServerConfigB\003\340A\001\"\272\001\n" + + "\020metastore_config\030\001 \001(\0132).goo" + + "gle.cloud.dataproc.v1.MetastoreConfigB\003\340A\001\022\\\n" + + "\033spark_history_server_config\030\002 \001(\0132" + + "2.google.cloud.dataproc.v1.SparkHistoryServerConfigB\003\340A\001\"\272\001\n" + "\016EndpointConfig\022P\n\n" + "http_ports\030\001" + " \003(\01327.google.cloud.dataproc.v1.EndpointConfig.HttpPortsEntryB\003\340A\003\022$\n" @@ -366,21 +372,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013network_uri\030\002 \001(\tB\003\340A\001\022\033\n" + "\016subnetwork_uri\030\006 \001(\tB\003\340A\001\022\"\n" + "\020internal_ip_only\030\007 \001(\010B\003\340A\001H\000\210\001\001\022k\n" - + "\032private_ipv6_google_access\030\014 \001(\0162B.google.cloud.dataproc.v1.GceClus" - + "terConfig.PrivateIpv6GoogleAccessB\003\340A\001\022\034\n" + + "\032private_ipv6_google_access\030\014 \001(\0162B.google.cloud.dataproc" + + ".v1.GceClusterConfig.PrivateIpv6GoogleAccessB\003\340A\001\022\034\n" + "\017service_account\030\010 \001(\tB\003\340A\001\022#\n" + "\026service_account_scopes\030\003 \003(\tB\003\340A\001\022\014\n" + "\004tags\030\004 \003(\t\022O\n" - + "\010metadata\030\005 \003(\01328.google.cloud.datapro" - + "c.v1.GceClusterConfig.MetadataEntryB\003\340A\001\022P\n" - + "\024reservation_affinity\030\013 \001(\0132-.google." - + "cloud.dataproc.v1.ReservationAffinityB\003\340A\001\022M\n" + + "\010metadata\030\005 \003(\01328.google.cl" + + "oud.dataproc.v1.GceClusterConfig.MetadataEntryB\003\340A\001\022P\n" + + "\024reservation_affinity\030\013 \001(" + + "\0132-.google.cloud.dataproc.v1.ReservationAffinityB\003\340A\001\022M\n" + "\023node_group_affinity\030\r" + " \001(\0132+.google.cloud.dataproc.v1.NodeGroupAffinityB\003\340A\001\022W\n" - + "\030shielded_instance_config\030\016 \001(\01320.go" - + "ogle.cloud.dataproc.v1.ShieldedInstanceConfigB\003\340A\001\022_\n" - + "\034confidential_instance_config\030\017" - + " \001(\01324.google.cloud.dataproc.v1.ConfidentialInstanceConfigB\003\340A\001\032/\n\r" + + "\030shielded_instance_config\030\016" + + " \001(\01320.google.cloud.dataproc.v1.ShieldedInstanceConfigB\003\340A\001\022_\n" + + "\034confidential_instance_config\030\017 \001(\01324.google.cloud.datap" + + "roc.v1.ConfidentialInstanceConfigB\003\340A\001\032/\n\r" + "MetadataEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\203\001\n" @@ -405,26 +411,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023InstanceGroupConfig\022\032\n\r" + "num_instances\030\001 \001(\005B\003\340A\001\022\033\n" + "\016instance_names\030\002 \003(\tB\003\340A\003\022M\n" - + "\023instance_references\030\013 \003(\0132+." - + "google.cloud.dataproc.v1.InstanceReferenceB\003\340A\003\022\026\n" + + "\023instance_references\030\013" + + " \003(\0132+.google.cloud.dataproc.v1.InstanceReferenceB\003\340A\003\022\026\n" + "\timage_uri\030\003 \001(\tB\003\340A\001\022\035\n" + "\020machine_type_uri\030\004 \001(\tB\003\340A\001\022>\n" - + "\013disk_config\030\005 " - + "\001(\0132$.google.cloud.dataproc.v1.DiskConfigB\003\340A\001\022\033\n" + + "\013disk_config\030\005" + + " \001(\0132$.google.cloud.dataproc.v1.DiskConfigB\003\340A\001\022\033\n" + "\016is_preemptible\030\006 \001(\010B\003\340A\003\022Y\n" + "\016preemptibility\030\n" - + " \001(\0162<.google.cloud.datap" - + "roc.v1.InstanceGroupConfig.PreemptibilityB\003\340A\001\022O\n" - + "\024managed_group_config\030\007 \001(\0132,.g" - + "oogle.cloud.dataproc.v1.ManagedGroupConfigB\003\340A\003\022F\n" - + "\014accelerators\030\010 \003(\0132+.google.c" - + "loud.dataproc.v1.AcceleratorConfigB\003\340A\001\022\035\n" + + " \001(\0162<.google." + + "cloud.dataproc.v1.InstanceGroupConfig.PreemptibilityB\003\340A\001\022O\n" + + "\024managed_group_config\030\007" + + " \001(\0132,.google.cloud.dataproc.v1.ManagedGroupConfigB\003\340A\003\022F\n" + + "\014accelerators\030\010 \003(\013" + + "2+.google.cloud.dataproc.v1.AcceleratorConfigB\003\340A\001\022\035\n" + "\020min_cpu_platform\030\t \001(\tB\003\340A\001\022\036\n" + "\021min_num_instances\030\014 \001(\005B\003\340A\001\022]\n" + "\033instance_flexibility_policy\030\r" + " \001(\01323.google.cloud.dataproc.v1.InstanceFlexibilityPolicyB\003\340A\001\022D\n" - + "\016startup_config\030\016" - + " \001(\0132\'.google.cloud.dataproc.v1.StartupConfigB\003\340A\001\"`\n" + + "\016startup_config\030\016 \001(\0132\'.googl" + + "e.cloud.dataproc.v1.StartupConfigB\003\340A\001\"`\n" + "\016Preemptibility\022\036\n" + "\032PREEMPTIBILITY_UNSPECIFIED\020\000\022\023\n" + "\017NON_PREEMPTIBLE\020\001\022\017\n" @@ -444,12 +450,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\033instance_group_manager_name\030\002 \001(\tB\003\340A\003\022\'\n" + "\032instance_group_manager_uri\030\003 \001(\tB\003\340A\003\"\345\005\n" + "\031InstanceFlexibilityPolicy\022m\n" - + "\026provisioning_model_mix\030\001 \001(\0132H.google.cloud.d" - + "ataproc.v1.InstanceFlexibilityPolicy.ProvisioningModelMixB\003\340A\001\022k\n" - + "\027instance_selection_list\030\002 \003(\0132E.google.cloud.dataproc." - + "v1.InstanceFlexibilityPolicy.InstanceSelectionB\003\340A\001\022t\n" - + "\032instance_selection_results\030\003 \003(\0132K.google.cloud.dataproc.v1.Insta" - + "nceFlexibilityPolicy.InstanceSelectionResultB\003\340A\003\032\274\001\n" + + "\026provisioning_model_mix\030\001 \001(\0132H.goo" + + "gle.cloud.dataproc.v1.InstanceFlexibilityPolicy.ProvisioningModelMixB\003\340A\001\022k\n" + + "\027instance_selection_list\030\002 \003(\0132E.google.clou" + + "d.dataproc.v1.InstanceFlexibilityPolicy.InstanceSelectionB\003\340A\001\022t\n" + + "\032instance_selection_results\030\003 \003(\0132K.google.cloud.datapr" + + "oc.v1.InstanceFlexibilityPolicy.InstanceSelectionResultB\003\340A\003\032\274\001\n" + "\024ProvisioningModelMix\022(\n" + "\026standard_capacity_base\030\001 \001(\005B\003\340A\001H\000\210\001\001\0226\n" + "$standard_capacity_percent_above_base\030\002" @@ -483,32 +489,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "node_group_id\030\002 \001(\tB\003\340A\001\"\275\003\n" + "\tNodeGroup\022\014\n" + "\004name\030\001 \001(\t\022<\n" - + "\005roles\030\002 " - + "\003(\0162(.google.cloud.dataproc.v1.NodeGroup.RoleB\003\340A\002\022M\n" - + "\021node_group_config\030\003 \001(\0132-." - + "google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022D\n" - + "\006labels\030\004 \003(\0132/.google.cloud" - + ".dataproc.v1.NodeGroup.LabelsEntryB\003\340A\001\032-\n" + + "\005roles\030\002" + + " \003(\0162(.google.cloud.dataproc.v1.NodeGroup.RoleB\003\340A\002\022M\n" + + "\021node_group_config\030\003" + + " \001(\0132-.google.cloud.dataproc.v1.InstanceGroupConfigB\003\340A\001\022D\n" + + "\006labels\030\004 \003(\0132/.g" + + "oogle.cloud.dataproc.v1.NodeGroup.LabelsEntryB\003\340A\001\032-\n" + "\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n" + + "\003key\030\001 \001(\t\022\r" + + "\n" + "\005value\030\002 \001(\t:\0028\001\"(\n" + "\004Role\022\024\n" + "\020ROLE_UNSPECIFIED\020\000\022\n\n" + "\006DRIVER\020\001:v\352As\n" - + "!dataproc.googleapis.com/NodeGroup\022Nprojects/{project}/regions/{re" - + "gion}/clusters/{cluster}/nodeGroups/{node_group}\"s\n" + + "!dataproc.googleapis.com/NodeGroup\022Nprojects/{project}/" + + "regions/{region}/clusters/{cluster}/nodeGroups/{node_group}\"s\n" + "\030NodeInitializationAction\022\034\n" + "\017executable_file\030\001 \001(\tB\003\340A\002\0229\n" + "\021execution_timeout\030\002" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\"\326\003\n\r" + "ClusterStatus\022A\n" - + "\005state\030\001 \001(\0162-" - + ".google.cloud.dataproc.v1.ClusterStatus.StateB\003\340A\003\022\026\n" + + "\005state\030\001" + + " \001(\0162-.google.cloud.dataproc.v1.ClusterStatus.StateB\003\340A\003\022\026\n" + "\006detail\030\002 \001(\tB\006\340A\003\340A\001\0229\n" + "\020state_start_time\030\003" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022G\n" - + "\010substate\030\004 \001(\01620.google" - + ".cloud.dataproc.v1.ClusterStatus.SubstateB\003\340A\003\"\247\001\n" + + "\010substate\030\004 \001" + + "(\01620.google.cloud.dataproc.v1.ClusterStatus.SubstateB\003\340A\003\"\247\001\n" + "\005State\022\013\n" + "\007UNKNOWN\020\000\022\014\n" + "\010CREATING\020\001\022\013\n" @@ -527,10 +534,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tUNHEALTHY\020\001\022\020\n" + "\014STALE_STATUS\020\002\"\240\001\n" + "\016SecurityConfig\022F\n" - + "\017kerberos_config\030\001 \001" - + "(\0132(.google.cloud.dataproc.v1.KerberosConfigB\003\340A\001\022F\n" - + "\017identity_config\030\002 \001(\0132(.goo" - + "gle.cloud.dataproc.v1.IdentityConfigB\003\340A\001\"\220\004\n" + + "\017kerberos_config\030\001" + + " \001(\0132(.google.cloud.dataproc.v1.KerberosConfigB\003\340A\001\022F\n" + + "\017identity_config\030\002" + + " \001(\0132(.google.cloud.dataproc.v1.IdentityConfigB\003\340A\001\"\220\004\n" + "\016KerberosConfig\022\034\n" + "\017enable_kerberos\030\001 \001(\010B\003\340A\001\022(\n" + "\033root_principal_password_uri\030\002 \001(\tB\003\340A\001\022\030\n" @@ -550,51 +557,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\022tgt_lifetime_hours\030\016 \001(\005B\003\340A\001\022\022\n" + "\005realm\030\017 \001(\tB\003\340A\001\"\306\001\n" + "\016IdentityConfig\022r\n" - + "\034user_service_account_mapping\030\001 \003(\0132G.google.c" - + "loud.dataproc.v1.IdentityConfig.UserServiceAccountMappingEntryB\003\340A\002\032@\n" + + "\034user_service_account_mapping\030\001 \003(\013" + + "2G.google.cloud.dataproc.v1.IdentityConf" + + "ig.UserServiceAccountMappingEntryB\003\340A\002\032@\n" + "\036UserServiceAccountMappingEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t:\0028\001\"\371\001\n" + "\016SoftwareConfig\022\032\n\r" + "image_version\030\001 \001(\tB\003\340A\001\022Q\n\n" - + "properties\030\002 \003(\013" - + "28.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntryB\003\340A\001\022E\n" + + "properties\030\002" + + " \003(\01328.google.cloud.dataproc.v1.SoftwareConfig.PropertiesEntryB\003\340A\001\022E\n" + "\023optional_components\030\003" + " \003(\0162#.google.cloud.dataproc.v1.ComponentB\003\340A\001\0321\n" + "\017PropertiesEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\203\002\n" + + "\005value\030\002 \001(\t:\0028\001\"\272\003\n" + "\017LifecycleConfig\0227\n" + "\017idle_delete_ttl\030\001" + " \001(\0132\031.google.protobuf.DurationB\003\340A\001\022;\n" + "\020auto_delete_time\030\002" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001H\000\0229\n" + "\017auto_delete_ttl\030\003" - + " \001(\0132\031.google.protobuf.DurationB\003\340A\001H\000\0228\n" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001H\000\0225\n\r" + + "idle_stop_ttl\030\005 \001(\0132\031.google.protobuf.DurationB\003\340A\001\0229\n" + + "\016auto_stop_time\030\006" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001H\001\0227\n\r" + + "auto_stop_ttl\030\007" + + " \001(\0132\031.google.protobuf.DurationB\003\340A\001H\001\0228\n" + "\017idle_start_time\030\004" + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003B\005\n" - + "\003ttl\"_\n" + + "\003ttlB\n\n" + + "\010stop_ttl\"_\n" + "\017MetastoreConfig\022L\n" + "\032dataproc_metastore_service\030\001 \001(\tB(\340A\002\372A\"\n" + " metastore.googleapis.com/Service\"\232\002\n" + "\016ClusterMetrics\022O\n" - + "\014hdfs_metrics\030\001 \003(\01329.google.cloud" - + ".dataproc.v1.ClusterMetrics.HdfsMetricsEntry\022O\n" - + "\014yarn_metrics\030\002 \003(\01329.google.clou" - + "d.dataproc.v1.ClusterMetrics.YarnMetricsEntry\0322\n" + + "\014hdfs_metrics\030\001 \003(\01329.google.cloud.datap" + + "roc.v1.ClusterMetrics.HdfsMetricsEntry\022O\n" + + "\014yarn_metrics\030\002 \003(\01329.google.cloud.data" + + "proc.v1.ClusterMetrics.YarnMetricsEntry\0322\n" + "\020HdfsMetricsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r" - + "\n" + + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\003:\0028\001\0322\n" + "\020YarnMetricsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\003:\0028\001\"\235\003\n" + "\024DataprocMetricConfig\022K\n" - + "\007metrics\030\001 \003(\01325.google" - + ".cloud.dataproc.v1.DataprocMetricConfig.MetricB\003\340A\002\032\200\001\n" + + "\007metrics\030\001 \003(\01325.google.cloud" + + ".dataproc.v1.DataprocMetricConfig.MetricB\003\340A\002\032\200\001\n" + "\006Metric\022W\n\r" - + "metric_source\030\001" - + " \001(\0162;.google.cloud.dataproc.v1.DataprocMetricConfig.MetricSourceB\003\340A\002\022\035\n" + + "metric_source\030\001 \001(\0162" + + ";.google.cloud.dataproc.v1.DataprocMetricConfig.MetricSourceB\003\340A\002\022\035\n" + "\020metric_overrides\030\002 \003(\tB\003\340A\001\"\264\001\n" + "\014MetricSource\022\035\n" + "\031METRIC_SOURCE_UNSPECIFIED\020\000\022\035\n" @@ -612,8 +625,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\007cluster\030\002" + " \001(\0132!.google.cloud.dataproc.v1.ClusterB\003\340A\002\022\027\n\n" + "request_id\030\004 \001(\tB\003\340A\001\022V\n" - + " action_on_failed_primary_workers\030\005 \001(\016" - + "2\'.google.cloud.dataproc.v1.FailureActionB\003\340A\001\"\256\002\n" + + " action_on_failed_primary_workers\030\005 \001(\0162\'.goo" + + "gle.cloud.dataproc.v1.FailureActionB\003\340A\001\"\256\002\n" + "\024UpdateClusterRequest\022\027\n\n" + "project_id\030\001 \001(\tB\003\340A\002\022\023\n" + "\006region\030\005 \001(\tB\003\340A\002\022\031\n" @@ -630,7 +643,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014cluster_name\030\003 \001(\tB\003\340A\002\022\031\n" + "\014cluster_uuid\030\004 \001(\tB\003\340A\001\022\027\n\n" + "request_id\030\005 \001(\tB\003\340A\001\"\222\001\n" - + "\023StartClusterRequest\022\027\n\n" + + "\023StartClusterRequest\022\027\n" + + "\n" + "project_id\030\001 \001(\tB\003\340A\002\022\023\n" + "\006region\030\002 \001(\tB\003\340A\002\022\031\n" + "\014cluster_name\030\003 \001(\tB\003\340A\002\022\031\n" @@ -661,14 +675,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006region\030\003 \001(\tB\003\340A\002\022\031\n" + "\014cluster_name\030\002 \001(\tB\003\340A\002\022\034\n" + "\017tarball_gcs_dir\030\004 \001(\tB\003\340A\001\022[\n" - + "\016tarball_access\030\005 \001(\0162>.google.cloud.datapr" - + "oc.v1.DiagnoseClusterRequest.TarballAccessB\003\340A\001\0226\n" + + "\016tarball_access\030\005 \001(\0162>.google.cloud.dataproc.v1." + + "DiagnoseClusterRequest.TarballAccessB\003\340A\001\0226\n" + "\022diagnosis_interval\030\006" + " \001(\0132\025.google.type.IntervalB\003\340A\001\022\021\n" + "\004jobs\030\n" + " \003(\tB\003\340A\001\022!\n" - + "\024yarn_application_ids\030\013 \003(\tB\003\340A\001\"g\n" - + "\r" + + "\024yarn_application_ids\030\013 \003(\tB\003\340A\001\"g\n\r" + "TarballAccess\022\036\n" + "\032TARBALL_ACCESS_UNSPECIFIED\020\000\022\030\n" + "\024GOOGLE_CLOUD_SUPPORT\020\001\022\034\n" @@ -686,51 +699,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\017ANY_RESERVATION\020\002\022\030\n" + "\024SPECIFIC_RESERVATION\020\0032\344\020\n" + "\021ClusterController\022\200\002\n\r" - + "CreateCluster\022..google.cloud.dataproc.v1.CreateCl" - + "usterRequest\032\035.google.longrunning.Operation\"\237\001\312A<\n" - + "\007Cluster\0221google.cloud.dataproc.v1.ClusterOperationMetadata\332A\031project_" - + "id,region,cluster\202\323\344\223\002>\"3/v1/projects/{p" - + "roject_id}/regions/{region}/clusters:\007cluster\022\250\002\n\r" - + "UpdateCluster\022..google.cloud.d" - + "ataproc.v1.UpdateClusterRequest\032\035.google.longrunning.Operation\"\307\001\312A<\n" - + "\007Cluster\0221google.cloud.dataproc.v1.ClusterOperation" - + "Metadata\332A2project_id,region,cluster_nam" - + "e,cluster,update_mask\202\323\344\223\002M2B/v1/project" - + "s/{project_id}/regions/{region}/clusters/{cluster_name}:\007cluster\022\356\001\n" - + "\013StopCluster\022,.google.cloud.dataproc.v1.StopClusterR" - + "equest\032\035.google.longrunning.Operation\"\221\001\312A<\n" + + "CreateCluster\022..google.cloud.dataproc.v1.CreateClusterR" + + "equest\032\035.google.longrunning.Operation\"\237\001\312A<\n" + "\007Cluster\0221google.cloud.dataproc.v1.C" - + "lusterOperationMetadata\202\323\344\223\002L\"G/v1/proje" - + "cts/{project_id}/regions/{region}/clusters/{cluster_name}:stop:\001*\022\361\001\n" - + "\014StartCluster\022-.google.cloud.dataproc.v1.StartClust" - + "erRequest\032\035.google.longrunning.Operation\"\222\001\312A<\n" - + "\007Cluster\0221google.cloud.dataproc.v" - + "1.ClusterOperationMetadata\202\323\344\223\002M\"H/v1/pr" - + "ojects/{project_id}/regions/{region}/clusters/{cluster_name}:start:\001*\022\231\002\n\r" - + "DeleteCluster\022..google.cloud.dataproc.v1.Delet" - + "eClusterRequest\032\035.google.longrunning.Operation\"\270\001\312AJ\n" - + "\025google.protobuf.Empty\0221google.cloud.dataproc.v1.ClusterOperationMe" - + "tadata\332A\036project_id,region,cluster_name\202" - + "\323\344\223\002D*B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\022\311\001\n\n" - + "GetCluster\022+.google.cloud.dataproc.v1.GetC" - + "lusterRequest\032!.google.cloud.dataproc.v1" - + ".Cluster\"k\332A\036project_id,region,cluster_n" - + "ame\202\323\344\223\002D\022B/v1/projects/{project_id}/reg" - + "ions/{region}/clusters/{cluster_name}\022\331\001\n" - + "\014ListClusters\022-.google.cloud.dataproc.v" - + "1.ListClustersRequest\032..google.cloud.dat" - + "aproc.v1.ListClustersResponse\"j\332A\021projec" - + "t_id,region\332A\030project_id,region,filter\202\323" - + "\344\223\0025\0223/v1/projects/{project_id}/regions/{region}/clusters\022\252\002\n" - + "\017DiagnoseCluster\0220.google.cloud.dataproc.v1.DiagnoseCluster" - + "Request\032\035.google.longrunning.Operation\"\305\001\312AK\n" - + "\026DiagnoseClusterResults\0221google.cloud.dataproc.v1.ClusterOperationMetadata\332" - + "A\036project_id,region,cluster_name\202\323\344\223\002P\"K" - + "/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}:diagnose:\001*\032K" - + "\312A\027dataproc.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformBl\n" + + "lusterOperationMetadata\332A\031project_id,reg" + + "ion,cluster\202\323\344\223\002>\"3/v1/projects/{project" + + "_id}/regions/{region}/clusters:\007cluster\022\250\002\n\r" + + "UpdateCluster\022..google.cloud.datapro" + + "c.v1.UpdateClusterRequest\032\035.google.longrunning.Operation\"\307\001\312A<\n" + + "\007Cluster\0221google.cloud.dataproc.v1.ClusterOperationMetada" + + "ta\332A2project_id,region,cluster_name,clus" + + "ter,update_mask\202\323\344\223\002M2B/v1/projects/{pro" + + "ject_id}/regions/{region}/clusters/{cluster_name}:\007cluster\022\356\001\n" + + "\013StopCluster\022,.goo" + + "gle.cloud.dataproc.v1.StopClusterRequest\032\035.google.longrunning.Operation\"\221\001\312A<\n" + + "\007Cluster\0221google.cloud.dataproc.v1.Cluster" + + "OperationMetadata\202\323\344\223\002L\"G/v1/projects/{p" + + "roject_id}/regions/{region}/clusters/{cluster_name}:stop:\001*\022\361\001\n" + + "\014StartCluster\022-.google.cloud.dataproc.v1.StartClusterRequ" + + "est\032\035.google.longrunning.Operation\"\222\001\312A<\n" + + "\007Cluster\0221google.cloud.dataproc.v1.Clus" + + "terOperationMetadata\202\323\344\223\002M\"H/v1/projects" + + "/{project_id}/regions/{region}/clusters/{cluster_name}:start:\001*\022\231\002\n\r" + + "DeleteCluster\022..google.cloud.dataproc.v1.DeleteClust" + + "erRequest\032\035.google.longrunning.Operation\"\270\001\312AJ\n" + + "\025google.protobuf.Empty\0221google.cloud.dataproc.v1.ClusterOperationMetadata" + + "\332A\036project_id,region,cluster_name\202\323\344\223\002D*" + + "B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\022\311\001\n\n" + + "GetCluster\022+.google.cloud.dataproc.v1.GetCluster" + + "Request\032!.google.cloud.dataproc.v1.Clust" + + "er\"k\332A\036project_id,region,cluster_name\202\323\344" + + "\223\002D\022B/v1/projects/{project_id}/regions/{region}/clusters/{cluster_name}\022\331\001\n" + + "\014ListClusters\022-.google.cloud.dataproc.v1.List" + + "ClustersRequest\032..google.cloud.dataproc." + + "v1.ListClustersResponse\"j\332A\021project_id,r" + + "egion\332A\030project_id,region,filter\202\323\344\223\0025\0223" + + "/v1/projects/{project_id}/regions/{region}/clusters\022\252\002\n" + + "\017DiagnoseCluster\0220.google" + + ".cloud.dataproc.v1.DiagnoseClusterRequest\032\035.google.longrunning.Operation\"\305\001\312AK\n" + + "\026DiagnoseClusterResults\0221google.cloud.dat" + + "aproc.v1.ClusterOperationMetadata\332A\036proj" + + "ect_id,region,cluster_name\202\323\344\223\002P\"K/v1/pr" + + "ojects/{project_id}/regions/{region}/clu" + + "sters/{cluster_name}:diagnose:\001*\032K\312A\027dat" + + "aproc.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformBl\n" + "\034com.google.cloud.dataproc.v1B\r" - + "ClustersProtoP\001Z;cloud.google.com/go/dataproc/v2/ap" - + "iv1/dataprocpb;dataprocpbb\006proto3" + + "ClustersProtoP\001Z;cloud.google.com/go/dataproc/v2/apiv1/da" + + "taprocpb;dataprocpbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -781,6 +796,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ClusterType", "ClusterTier", + "Engine", "ConfigBucket", "TempBucket", "GceClusterConfig", @@ -1110,7 +1126,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_dataproc_v1_LifecycleConfig_descriptor, new java.lang.String[] { - "IdleDeleteTtl", "AutoDeleteTime", "AutoDeleteTtl", "IdleStartTime", "Ttl", + "IdleDeleteTtl", + "AutoDeleteTime", + "AutoDeleteTtl", + "IdleStopTtl", + "AutoStopTime", + "AutoStopTtl", + "IdleStartTime", + "Ttl", + "StopTtl", }); internal_static_google_cloud_dataproc_v1_MetastoreConfig_descriptor = getDescriptor().getMessageType(27); diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfig.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfig.java index f7adca5d0a88..a3c13a6a723f 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfig.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfig.java @@ -119,6 +119,56 @@ public TtlCase getTtlCase() { return TtlCase.forNumber(ttlCase_); } + private int stopTtlCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object stopTtl_; + + public enum StopTtlCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + AUTO_STOP_TIME(6), + AUTO_STOP_TTL(7), + STOPTTL_NOT_SET(0); + private final int value; + + private StopTtlCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static StopTtlCase valueOf(int value) { + return forNumber(value); + } + + public static StopTtlCase forNumber(int value) { + switch (value) { + case 6: + return AUTO_STOP_TIME; + case 7: + return AUTO_STOP_TTL; + case 0: + return STOPTTL_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public StopTtlCase getStopTtlCase() { + return StopTtlCase.forNumber(stopTtlCase_); + } + public static final int IDLE_DELETE_TTL_FIELD_NUMBER = 1; private com.google.protobuf.Duration idleDeleteTtl_; @@ -319,6 +369,202 @@ public com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder() { return com.google.protobuf.Duration.getDefaultInstance(); } + public static final int IDLE_STOP_TTL_FIELD_NUMBER = 5; + private com.google.protobuf.Duration idleStopTtl_; + + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the idleStopTtl field is set. + */ + @java.lang.Override + public boolean hasIdleStopTtl() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The idleStopTtl. + */ + @java.lang.Override + public com.google.protobuf.Duration getIdleStopTtl() { + return idleStopTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleStopTtl_; + } + + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getIdleStopTtlOrBuilder() { + return idleStopTtl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : idleStopTtl_; + } + + public static final int AUTO_STOP_TIME_FIELD_NUMBER = 6; + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTime field is set. + */ + @java.lang.Override + public boolean hasAutoStopTime() { + return stopTtlCase_ == 6; + } + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getAutoStopTime() { + if (stopTtlCase_ == 6) { + return (com.google.protobuf.Timestamp) stopTtl_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getAutoStopTimeOrBuilder() { + if (stopTtlCase_ == 6) { + return (com.google.protobuf.Timestamp) stopTtl_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + + public static final int AUTO_STOP_TTL_FIELD_NUMBER = 7; + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTtl field is set. + */ + @java.lang.Override + public boolean hasAutoStopTtl() { + return stopTtlCase_ == 7; + } + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTtl. + */ + @java.lang.Override + public com.google.protobuf.Duration getAutoStopTtl() { + if (stopTtlCase_ == 7) { + return (com.google.protobuf.Duration) stopTtl_; + } + return com.google.protobuf.Duration.getDefaultInstance(); + } + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getAutoStopTtlOrBuilder() { + if (stopTtlCase_ == 7) { + return (com.google.protobuf.Duration) stopTtl_; + } + return com.google.protobuf.Duration.getDefaultInstance(); + } + public static final int IDLE_START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp idleStartTime_; @@ -340,7 +586,7 @@ public com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder() { */ @java.lang.Override public boolean hasIdleStartTime() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** @@ -410,9 +656,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (ttlCase_ == 3) { output.writeMessage(3, (com.google.protobuf.Duration) ttl_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(4, getIdleStartTime()); } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(5, getIdleStopTtl()); + } + if (stopTtlCase_ == 6) { + output.writeMessage(6, (com.google.protobuf.Timestamp) stopTtl_); + } + if (stopTtlCase_ == 7) { + output.writeMessage(7, (com.google.protobuf.Duration) stopTtl_); + } getUnknownFields().writeTo(output); } @@ -435,9 +690,22 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, (com.google.protobuf.Duration) ttl_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getIdleStartTime()); } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getIdleStopTtl()); + } + if (stopTtlCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.protobuf.Timestamp) stopTtl_); + } + if (stopTtlCase_ == 7) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.protobuf.Duration) stopTtl_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -458,6 +726,10 @@ public boolean equals(final java.lang.Object obj) { if (hasIdleDeleteTtl()) { if (!getIdleDeleteTtl().equals(other.getIdleDeleteTtl())) return false; } + if (hasIdleStopTtl() != other.hasIdleStopTtl()) return false; + if (hasIdleStopTtl()) { + if (!getIdleStopTtl().equals(other.getIdleStopTtl())) return false; + } if (hasIdleStartTime() != other.hasIdleStartTime()) return false; if (hasIdleStartTime()) { if (!getIdleStartTime().equals(other.getIdleStartTime())) return false; @@ -473,6 +745,17 @@ public boolean equals(final java.lang.Object obj) { case 0: default: } + if (!getStopTtlCase().equals(other.getStopTtlCase())) return false; + switch (stopTtlCase_) { + case 6: + if (!getAutoStopTime().equals(other.getAutoStopTime())) return false; + break; + case 7: + if (!getAutoStopTtl().equals(other.getAutoStopTtl())) return false; + break; + case 0: + default: + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -488,6 +771,10 @@ public int hashCode() { hash = (37 * hash) + IDLE_DELETE_TTL_FIELD_NUMBER; hash = (53 * hash) + getIdleDeleteTtl().hashCode(); } + if (hasIdleStopTtl()) { + hash = (37 * hash) + IDLE_STOP_TTL_FIELD_NUMBER; + hash = (53 * hash) + getIdleStopTtl().hashCode(); + } if (hasIdleStartTime()) { hash = (37 * hash) + IDLE_START_TIME_FIELD_NUMBER; hash = (53 * hash) + getIdleStartTime().hashCode(); @@ -504,6 +791,18 @@ public int hashCode() { case 0: default: } + switch (stopTtlCase_) { + case 6: + hash = (37 * hash) + AUTO_STOP_TIME_FIELD_NUMBER; + hash = (53 * hash) + getAutoStopTime().hashCode(); + break; + case 7: + hash = (37 * hash) + AUTO_STOP_TTL_FIELD_NUMBER; + hash = (53 * hash) + getAutoStopTtl().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -646,6 +945,7 @@ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { internalGetIdleDeleteTtlFieldBuilder(); + internalGetIdleStopTtlFieldBuilder(); internalGetIdleStartTimeFieldBuilder(); } } @@ -665,6 +965,17 @@ public Builder clear() { if (autoDeleteTtlBuilder_ != null) { autoDeleteTtlBuilder_.clear(); } + idleStopTtl_ = null; + if (idleStopTtlBuilder_ != null) { + idleStopTtlBuilder_.dispose(); + idleStopTtlBuilder_ = null; + } + if (autoStopTimeBuilder_ != null) { + autoStopTimeBuilder_.clear(); + } + if (autoStopTtlBuilder_ != null) { + autoStopTtlBuilder_.clear(); + } idleStartTime_ = null; if (idleStartTimeBuilder_ != null) { idleStartTimeBuilder_.dispose(); @@ -672,6 +983,8 @@ public Builder clear() { } ttlCase_ = 0; ttl_ = null; + stopTtlCase_ = 0; + stopTtl_ = null; return this; } @@ -716,9 +1029,14 @@ private void buildPartial0(com.google.cloud.dataproc.v1.LifecycleConfig result) to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.idleStopTtl_ = + idleStopTtlBuilder_ == null ? idleStopTtl_ : idleStopTtlBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { result.idleStartTime_ = idleStartTimeBuilder_ == null ? idleStartTime_ : idleStartTimeBuilder_.build(); - to_bitField0_ |= 0x00000002; + to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @@ -732,6 +1050,14 @@ private void buildPartialOneofs(com.google.cloud.dataproc.v1.LifecycleConfig res if (ttlCase_ == 3 && autoDeleteTtlBuilder_ != null) { result.ttl_ = autoDeleteTtlBuilder_.build(); } + result.stopTtlCase_ = stopTtlCase_; + result.stopTtl_ = this.stopTtl_; + if (stopTtlCase_ == 6 && autoStopTimeBuilder_ != null) { + result.stopTtl_ = autoStopTimeBuilder_.build(); + } + if (stopTtlCase_ == 7 && autoStopTtlBuilder_ != null) { + result.stopTtl_ = autoStopTtlBuilder_.build(); + } } @java.lang.Override @@ -749,6 +1075,9 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.LifecycleConfig other) { if (other.hasIdleDeleteTtl()) { mergeIdleDeleteTtl(other.getIdleDeleteTtl()); } + if (other.hasIdleStopTtl()) { + mergeIdleStopTtl(other.getIdleStopTtl()); + } if (other.hasIdleStartTime()) { mergeIdleStartTime(other.getIdleStartTime()); } @@ -768,6 +1097,22 @@ public Builder mergeFrom(com.google.cloud.dataproc.v1.LifecycleConfig other) { break; } } + switch (other.getStopTtlCase()) { + case AUTO_STOP_TIME: + { + mergeAutoStopTime(other.getAutoStopTime()); + break; + } + case AUTO_STOP_TTL: + { + mergeAutoStopTtl(other.getAutoStopTtl()); + break; + } + case STOPTTL_NOT_SET: + { + break; + } + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -819,9 +1164,30 @@ public Builder mergeFrom( { input.readMessage( internalGetIdleStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000040; break; } // case 34 + case 42: + { + input.readMessage( + internalGetIdleStopTtlFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage( + internalGetAutoStopTimeFieldBuilder().getBuilder(), extensionRegistry); + stopTtlCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage( + internalGetAutoStopTtlFieldBuilder().getBuilder(), extensionRegistry); + stopTtlCase_ = 7; + break; + } // case 58 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -853,6 +1219,20 @@ public Builder clearTtl() { return this; } + private int stopTtlCase_ = 0; + private java.lang.Object stopTtl_; + + public StopTtlCase getStopTtlCase() { + return StopTtlCase.forNumber(stopTtlCase_); + } + + public Builder clearStopTtl() { + stopTtlCase_ = 0; + stopTtl_ = null; + onChanged(); + return this; + } + private int bitField0_; private com.google.protobuf.Duration idleDeleteTtl_; @@ -1610,30 +1990,30 @@ public com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder() { return autoDeleteTtlBuilder_; } - private com.google.protobuf.Timestamp idleStartTime_; + private com.google.protobuf.Duration idleStopTtl_; private com.google.protobuf.SingleFieldBuilder< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - idleStartTimeBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + idleStopTtlBuilder_; /** * * *
-     * Output only. The time when cluster became idle (most recent job finished)
-     * and became eligible for deletion due to idleness (see JSON representation
-     * of
-     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
      * 
* - * - * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; * * - * @return Whether the idleStartTime field is set. + * @return Whether the idleStopTtl field is set. */ - public boolean hasIdleStartTime() { + public boolean hasIdleStopTtl() { return ((bitField0_ & 0x00000008) != 0); } @@ -1641,14 +2021,760 @@ public boolean hasIdleStartTime() { * * *
-     * Output only. The time when cluster became idle (most recent job finished)
-     * and became eligible for deletion due to idleness (see JSON representation
-     * of
-     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
      * 
* - * - * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The idleStopTtl. + */ + public com.google.protobuf.Duration getIdleStopTtl() { + if (idleStopTtlBuilder_ == null) { + return idleStopTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : idleStopTtl_; + } else { + return idleStopTtlBuilder_.getMessage(); + } + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setIdleStopTtl(com.google.protobuf.Duration value) { + if (idleStopTtlBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + idleStopTtl_ = value; + } else { + idleStopTtlBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setIdleStopTtl(com.google.protobuf.Duration.Builder builderForValue) { + if (idleStopTtlBuilder_ == null) { + idleStopTtl_ = builderForValue.build(); + } else { + idleStopTtlBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeIdleStopTtl(com.google.protobuf.Duration value) { + if (idleStopTtlBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && idleStopTtl_ != null + && idleStopTtl_ != com.google.protobuf.Duration.getDefaultInstance()) { + getIdleStopTtlBuilder().mergeFrom(value); + } else { + idleStopTtl_ = value; + } + } else { + idleStopTtlBuilder_.mergeFrom(value); + } + if (idleStopTtl_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } + return this; + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearIdleStopTtl() { + bitField0_ = (bitField0_ & ~0x00000008); + idleStopTtl_ = null; + if (idleStopTtlBuilder_ != null) { + idleStopTtlBuilder_.dispose(); + idleStopTtlBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Duration.Builder getIdleStopTtlBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return internalGetIdleStopTtlFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.DurationOrBuilder getIdleStopTtlOrBuilder() { + if (idleStopTtlBuilder_ != null) { + return idleStopTtlBuilder_.getMessageOrBuilder(); + } else { + return idleStopTtl_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : idleStopTtl_; + } + } + + /** + * + * + *
+     * Optional. The duration to keep the cluster started while idling (when no
+     * jobs are running). Passing this threshold will cause the cluster to be
+     * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+     * representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + internalGetIdleStopTtlFieldBuilder() { + if (idleStopTtlBuilder_ == null) { + idleStopTtlBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getIdleStopTtl(), getParentForChildren(), isClean()); + idleStopTtl_ = null; + } + return idleStopTtlBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + autoStopTimeBuilder_; + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTime field is set. + */ + @java.lang.Override + public boolean hasAutoStopTime() { + return stopTtlCase_ == 6; + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getAutoStopTime() { + if (autoStopTimeBuilder_ == null) { + if (stopTtlCase_ == 6) { + return (com.google.protobuf.Timestamp) stopTtl_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } else { + if (stopTtlCase_ == 6) { + return autoStopTimeBuilder_.getMessage(); + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAutoStopTime(com.google.protobuf.Timestamp value) { + if (autoStopTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stopTtl_ = value; + onChanged(); + } else { + autoStopTimeBuilder_.setMessage(value); + } + stopTtlCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAutoStopTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (autoStopTimeBuilder_ == null) { + stopTtl_ = builderForValue.build(); + onChanged(); + } else { + autoStopTimeBuilder_.setMessage(builderForValue.build()); + } + stopTtlCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeAutoStopTime(com.google.protobuf.Timestamp value) { + if (autoStopTimeBuilder_ == null) { + if (stopTtlCase_ == 6 && stopTtl_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + stopTtl_ = + com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) stopTtl_) + .mergeFrom(value) + .buildPartial(); + } else { + stopTtl_ = value; + } + onChanged(); + } else { + if (stopTtlCase_ == 6) { + autoStopTimeBuilder_.mergeFrom(value); + } else { + autoStopTimeBuilder_.setMessage(value); + } + } + stopTtlCase_ = 6; + return this; + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearAutoStopTime() { + if (autoStopTimeBuilder_ == null) { + if (stopTtlCase_ == 6) { + stopTtlCase_ = 0; + stopTtl_ = null; + onChanged(); + } + } else { + if (stopTtlCase_ == 6) { + stopTtlCase_ = 0; + stopTtl_ = null; + } + autoStopTimeBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Timestamp.Builder getAutoStopTimeBuilder() { + return internalGetAutoStopTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getAutoStopTimeOrBuilder() { + if ((stopTtlCase_ == 6) && (autoStopTimeBuilder_ != null)) { + return autoStopTimeBuilder_.getMessageOrBuilder(); + } else { + if (stopTtlCase_ == 6) { + return (com.google.protobuf.Timestamp) stopTtl_; + } + return com.google.protobuf.Timestamp.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The time when cluster will be auto-stopped (see JSON
+     * representation of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetAutoStopTimeFieldBuilder() { + if (autoStopTimeBuilder_ == null) { + if (!(stopTtlCase_ == 6)) { + stopTtl_ = com.google.protobuf.Timestamp.getDefaultInstance(); + } + autoStopTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + (com.google.protobuf.Timestamp) stopTtl_, getParentForChildren(), isClean()); + stopTtl_ = null; + } + stopTtlCase_ = 6; + onChanged(); + return autoStopTimeBuilder_; + } + + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + autoStopTtlBuilder_; + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTtl field is set. + */ + @java.lang.Override + public boolean hasAutoStopTtl() { + return stopTtlCase_ == 7; + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTtl. + */ + @java.lang.Override + public com.google.protobuf.Duration getAutoStopTtl() { + if (autoStopTtlBuilder_ == null) { + if (stopTtlCase_ == 7) { + return (com.google.protobuf.Duration) stopTtl_; + } + return com.google.protobuf.Duration.getDefaultInstance(); + } else { + if (stopTtlCase_ == 7) { + return autoStopTtlBuilder_.getMessage(); + } + return com.google.protobuf.Duration.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAutoStopTtl(com.google.protobuf.Duration value) { + if (autoStopTtlBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stopTtl_ = value; + onChanged(); + } else { + autoStopTtlBuilder_.setMessage(value); + } + stopTtlCase_ = 7; + return this; + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setAutoStopTtl(com.google.protobuf.Duration.Builder builderForValue) { + if (autoStopTtlBuilder_ == null) { + stopTtl_ = builderForValue.build(); + onChanged(); + } else { + autoStopTtlBuilder_.setMessage(builderForValue.build()); + } + stopTtlCase_ = 7; + return this; + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeAutoStopTtl(com.google.protobuf.Duration value) { + if (autoStopTtlBuilder_ == null) { + if (stopTtlCase_ == 7 && stopTtl_ != com.google.protobuf.Duration.getDefaultInstance()) { + stopTtl_ = + com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) stopTtl_) + .mergeFrom(value) + .buildPartial(); + } else { + stopTtl_ = value; + } + onChanged(); + } else { + if (stopTtlCase_ == 7) { + autoStopTtlBuilder_.mergeFrom(value); + } else { + autoStopTtlBuilder_.setMessage(value); + } + } + stopTtlCase_ = 7; + return this; + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearAutoStopTtl() { + if (autoStopTtlBuilder_ == null) { + if (stopTtlCase_ == 7) { + stopTtlCase_ = 0; + stopTtl_ = null; + onChanged(); + } + } else { + if (stopTtlCase_ == 7) { + stopTtlCase_ = 0; + stopTtl_ = null; + } + autoStopTtlBuilder_.clear(); + } + return this; + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.Duration.Builder getAutoStopTtlBuilder() { + return internalGetAutoStopTtlFieldBuilder().getBuilder(); + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getAutoStopTtlOrBuilder() { + if ((stopTtlCase_ == 7) && (autoStopTtlBuilder_ != null)) { + return autoStopTtlBuilder_.getMessageOrBuilder(); + } else { + if (stopTtlCase_ == 7) { + return (com.google.protobuf.Duration) stopTtl_; + } + return com.google.protobuf.Duration.getDefaultInstance(); + } + } + + /** + * + * + *
+     * Optional. The lifetime duration of the cluster. The cluster will be
+     * auto-stopped at the end of this period, calculated from the time of
+     * submission of the create or update cluster request. Minimum value is 10
+     * minutes; maximum value is 14 days (see JSON representation of
+     * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + internalGetAutoStopTtlFieldBuilder() { + if (autoStopTtlBuilder_ == null) { + if (!(stopTtlCase_ == 7)) { + stopTtl_ = com.google.protobuf.Duration.getDefaultInstance(); + } + autoStopTtlBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + (com.google.protobuf.Duration) stopTtl_, getParentForChildren(), isClean()); + stopTtl_ = null; + } + stopTtlCase_ = 7; + onChanged(); + return autoStopTtlBuilder_; + } + + private com.google.protobuf.Timestamp idleStartTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + idleStartTimeBuilder_; + + /** + * + * + *
+     * Output only. The time when cluster became idle (most recent job finished)
+     * and became eligible for deletion due to idleness (see JSON representation
+     * of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the idleStartTime field is set. + */ + public boolean hasIdleStartTime() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * + * + *
+     * Output only. The time when cluster became idle (most recent job finished)
+     * and became eligible for deletion due to idleness (see JSON representation
+     * of
+     * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+     * 
+ * + * + * .google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The idleStartTime. @@ -1686,7 +2812,7 @@ public Builder setIdleStartTime(com.google.protobuf.Timestamp value) { } else { idleStartTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1711,7 +2837,7 @@ public Builder setIdleStartTime(com.google.protobuf.Timestamp.Builder builderFor } else { idleStartTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -1732,7 +2858,7 @@ public Builder setIdleStartTime(com.google.protobuf.Timestamp.Builder builderFor */ public Builder mergeIdleStartTime(com.google.protobuf.Timestamp value) { if (idleStartTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000040) != 0) && idleStartTime_ != null && idleStartTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getIdleStartTimeBuilder().mergeFrom(value); @@ -1743,7 +2869,7 @@ public Builder mergeIdleStartTime(com.google.protobuf.Timestamp value) { idleStartTimeBuilder_.mergeFrom(value); } if (idleStartTime_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000040; onChanged(); } return this; @@ -1764,7 +2890,7 @@ public Builder mergeIdleStartTime(com.google.protobuf.Timestamp value) { *
*/ public Builder clearIdleStartTime() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000040); idleStartTime_ = null; if (idleStartTimeBuilder_ != null) { idleStartTimeBuilder_.dispose(); @@ -1789,7 +2915,7 @@ public Builder clearIdleStartTime() { *
*/ public com.google.protobuf.Timestamp.Builder getIdleStartTimeBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000040; onChanged(); return internalGetIdleStartTimeFieldBuilder().getBuilder(); } diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfigOrBuilder.java b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfigOrBuilder.java index 4b9adc851934..33119122ca9b 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfigOrBuilder.java +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/LifecycleConfigOrBuilder.java @@ -176,6 +176,156 @@ public interface LifecycleConfigOrBuilder */ com.google.protobuf.DurationOrBuilder getAutoDeleteTtlOrBuilder(); + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the idleStopTtl field is set. + */ + boolean hasIdleStopTtl(); + + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The idleStopTtl. + */ + com.google.protobuf.Duration getIdleStopTtl(); + + /** + * + * + *
+   * Optional. The duration to keep the cluster started while idling (when no
+   * jobs are running). Passing this threshold will cause the cluster to be
+   * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON
+   * representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getIdleStopTtlOrBuilder(); + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTime field is set. + */ + boolean hasAutoStopTime(); + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTime. + */ + com.google.protobuf.Timestamp getAutoStopTime(); + + /** + * + * + *
+   * Optional. The time when cluster will be auto-stopped (see JSON
+   * representation of
+   * [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.TimestampOrBuilder getAutoStopTimeOrBuilder(); + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the autoStopTtl field is set. + */ + boolean hasAutoStopTtl(); + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The autoStopTtl. + */ + com.google.protobuf.Duration getAutoStopTtl(); + + /** + * + * + *
+   * Optional. The lifetime duration of the cluster. The cluster will be
+   * auto-stopped at the end of this period, calculated from the time of
+   * submission of the create or update cluster request. Minimum value is 10
+   * minutes; maximum value is 14 days (see JSON representation of
+   * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
+   * 
+ * + * .google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.DurationOrBuilder getAutoStopTtlOrBuilder(); + /** * * @@ -229,4 +379,6 @@ public interface LifecycleConfigOrBuilder com.google.protobuf.TimestampOrBuilder getIdleStartTimeOrBuilder(); com.google.cloud.dataproc.v1.LifecycleConfig.TtlCase getTtlCase(); + + com.google.cloud.dataproc.v1.LifecycleConfig.StopTtlCase getStopTtlCase(); } diff --git a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/clusters.proto b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/clusters.proto index d55ea617419e..f1bc59a225e6 100644 --- a/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/clusters.proto +++ b/java-dataproc/proto-google-cloud-dataproc-v1/src/main/proto/google/cloud/dataproc/v1/clusters.proto @@ -243,12 +243,27 @@ message ClusterConfig { CLUSTER_TIER_PREMIUM = 2; } + // The cluster engine. + enum Engine { + // The engine is not specified. Works the same as ENGINE_DEFAULT. + ENGINE_UNSPECIFIED = 0; + + // The cluster is a default engine cluster. + DEFAULT = 1; + + // The cluster is a lightning engine cluster. + LIGHTNING = 2; + } + // Optional. The type of the cluster. ClusterType cluster_type = 27 [(google.api.field_behavior) = OPTIONAL]; // Optional. The cluster tier. ClusterTier cluster_tier = 29 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The cluster engine. + Engine engine = 30 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A Cloud Storage bucket used to stage job // dependencies, config files, and job driver console output. // If you do not specify a staging bucket, Cloud @@ -1266,6 +1281,32 @@ message LifecycleConfig { [(google.api.field_behavior) = OPTIONAL]; } + // Optional. The duration to keep the cluster started while idling (when no + // jobs are running). Passing this threshold will cause the cluster to be + // stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON + // representation of + // [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). + google.protobuf.Duration idle_stop_ttl = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Either the exact time the cluster should be stopped at or + // the cluster maximum age. + oneof stop_ttl { + // Optional. The time when cluster will be auto-stopped (see JSON + // representation of + // [Timestamp](https://developers.google.com/protocol-buffers/docs/proto3#json)). + google.protobuf.Timestamp auto_stop_time = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The lifetime duration of the cluster. The cluster will be + // auto-stopped at the end of this period, calculated from the time of + // submission of the create or update cluster request. Minimum value is 10 + // minutes; maximum value is 14 days (see JSON representation of + // [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). + google.protobuf.Duration auto_stop_ttl = 7 + [(google.api.field_behavior) = OPTIONAL]; + } + // Output only. The time when cluster became idle (most recent job finished) // and became eligible for deletion due to idleness (see JSON representation // of diff --git a/java-datastore/.OwlBot-hermetic.yaml b/java-datastore/.OwlBot-hermetic.yaml index c53f7529e9bf..b58898a6c2a0 100644 --- a/java-datastore/.OwlBot-hermetic.yaml +++ b/java-datastore/.OwlBot-hermetic.yaml @@ -15,6 +15,7 @@ deep-remove-regex: - /java-datastore/proto-google-.*/src deep-preserve-regex: +- /java-datastore/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java - /java-datastore/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java deep-copy-regex: - source: /google/datastore/(v.*)/.*-java/proto-google-.*/src diff --git a/java-datastore/README.md b/java-datastore/README.md index 96518194208a..bead9385d7de 100644 --- a/java-datastore/README.md +++ b/java-datastore/README.md @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-datastore' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastore:2.37.0' +implementation 'com.google.cloud:google-cloud-datastore:2.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "2.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "2.38.0" ``` ## Authentication @@ -474,7 +474,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datastore/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/2.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/2.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/Version.java b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/Version.java index 39fabad19b2d..01384f20a2d0 100644 --- a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/Version.java +++ b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datastore:current} - static final String VERSION = "2.38.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub/Version.java b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub/Version.java index 43ebda6024cd..25bc2b3a32cb 100644 --- a/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub/Version.java +++ b/java-datastore/google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datastore:current} - static final String VERSION = "2.38.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datastream/.OwlBot-hermetic.yaml b/java-datastream/.OwlBot-hermetic.yaml index 5efef4f8c226..9047d35b425b 100644 --- a/java-datastream/.OwlBot-hermetic.yaml +++ b/java-datastream/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-datastream/google-.*/src" deep-preserve-regex: +- "/java-datastream/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-datastream/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-datastream/README.md b/java-datastream/README.md index 15e0321d02ec..17a768d6fbfe 100644 --- a/java-datastream/README.md +++ b/java-datastream/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-datastream - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-datastream:1.87.0' +implementation 'com.google.cloud:google-cloud-datastream:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-datastream" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-datastream/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastream/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/Version.java b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/Version.java index 94ef79caff8f..aa7872d5d6ec 100644 --- a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/Version.java +++ b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datastream:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/Version.java b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/Version.java index 5dfa852c1ace..0571b2e5b792 100644 --- a/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/Version.java +++ b/java-datastream/google-cloud-datastream/src/main/java/com/google/cloud/datastream/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-datastream:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-deploy/.OwlBot-hermetic.yaml b/java-deploy/.OwlBot-hermetic.yaml index df16b930f746..b8bcc31cda91 100644 --- a/java-deploy/.OwlBot-hermetic.yaml +++ b/java-deploy/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-deploy/google-.*/src" deep-preserve-regex: +- "/java-deploy/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-deploy/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-deploy/README.md b/java-deploy/README.md index c3c5d4839d27..9ad96c29b142 100644 --- a/java-deploy/README.md +++ b/java-deploy/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-deploy - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-deploy:1.86.0' +implementation 'com.google.cloud:google-cloud-deploy:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-deploy" % "1.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-deploy/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/Version.java b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/Version.java index 942921fa31f2..d9707d2981bb 100644 --- a/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/Version.java +++ b/java-deploy/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-deploy:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-developerconnect/.OwlBot-hermetic.yaml b/java-developerconnect/.OwlBot-hermetic.yaml index 62aea104799a..d9ea34c7fa7f 100644 --- a/java-developerconnect/.OwlBot-hermetic.yaml +++ b/java-developerconnect/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-developerconnect/samples/snippets/generated" deep-preserve-regex: +- "/java-developerconnect/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-developerconnect/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-developerconnect/README.md b/java-developerconnect/README.md index 5042005a892e..d54b98e9a08c 100644 --- a/java-developerconnect/README.md +++ b/java-developerconnect/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-developerconnect - 0.45.0 + 0.46.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-developerconnect:0.45.0' +implementation 'com.google.cloud:google-cloud-developerconnect:0.46.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.45.0" +libraryDependencies += "com.google.cloud" % "google-cloud-developerconnect" % "0.46.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-developerconnect/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-developerconnect.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-developerconnect/0.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-developerconnect/google-cloud-developerconnect/src/main/java/com/google/cloud/developerconnect/v1/stub/Version.java b/java-developerconnect/google-cloud-developerconnect/src/main/java/com/google/cloud/developerconnect/v1/stub/Version.java index 5340b8aba23f..649bd74bb075 100644 --- a/java-developerconnect/google-cloud-developerconnect/src/main/java/com/google/cloud/developerconnect/v1/stub/Version.java +++ b/java-developerconnect/google-cloud-developerconnect/src/main/java/com/google/cloud/developerconnect/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-developerconnect:current} - static final String VERSION = "0.46.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-devicestreaming/.OwlBot-hermetic.yaml b/java-devicestreaming/.OwlBot-hermetic.yaml index c64ff7c4f554..c1d5e24bfadd 100644 --- a/java-devicestreaming/.OwlBot-hermetic.yaml +++ b/java-devicestreaming/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-devicestreaming/samples/snippets/generated" deep-preserve-regex: +- "/java-devicestreaming/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-devicestreaming/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-devicestreaming/README.md b/java-devicestreaming/README.md index 3522d76270ce..6895f0aaade3 100644 --- a/java-devicestreaming/README.md +++ b/java-devicestreaming/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-devicestreaming - 0.28.0 + 0.29.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-devicestreaming:0.28.0' +implementation 'com.google.cloud:google-cloud-devicestreaming:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-devicestreaming" % "0.29.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-devicestreaming/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-devicestreaming.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-devicestreaming/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-devicestreaming/google-cloud-devicestreaming/src/main/java/com/google/cloud/devicestreaming/v1/stub/Version.java b/java-devicestreaming/google-cloud-devicestreaming/src/main/java/com/google/cloud/devicestreaming/v1/stub/Version.java index d5a28226f3eb..097dc7ddbac4 100644 --- a/java-devicestreaming/google-cloud-devicestreaming/src/main/java/com/google/cloud/devicestreaming/v1/stub/Version.java +++ b/java-devicestreaming/google-cloud-devicestreaming/src/main/java/com/google/cloud/devicestreaming/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-devicestreaming:current} - static final String VERSION = "0.29.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dialogflow-cx/.OwlBot-hermetic.yaml b/java-dialogflow-cx/.OwlBot-hermetic.yaml index 63f6c33a8c11..2e35dbd20bf0 100644 --- a/java-dialogflow-cx/.OwlBot-hermetic.yaml +++ b/java-dialogflow-cx/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dialogflow-cx/samples/snippets/generated" deep-preserve-regex: +- "/java-dialogflow-cx/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dialogflow-cx/google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v.*/it/ITSystemTest.java" deep-copy-regex: diff --git a/java-dialogflow-cx/README.md b/java-dialogflow-cx/README.md index edc56edaa4d8..df9b38f8fe30 100644 --- a/java-dialogflow-cx/README.md +++ b/java-dialogflow-cx/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow-cx - 0.99.0 + 0.100.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.99.0' +implementation 'com.google.cloud:google-cloud-dialogflow-cx:0.100.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.99.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow-cx" % "0.100.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dialogflow-cx/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow-cx.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.99.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow-cx/0.100.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/Version.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/Version.java index 3219870363d9..b3e191f2f8e2 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/Version.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dialogflow-cx:current} - static final String VERSION = "0.100.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/Version.java b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/Version.java index 668cf9e5b573..7d5b8929fe64 100644 --- a/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/Version.java +++ b/java-dialogflow-cx/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dialogflow-cx:current} - static final String VERSION = "0.100.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CodeBlockProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CodeBlockProto.java index 2a03bd4def48..fb30f33a915f 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CodeBlockProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/CodeBlockProto.java @@ -56,11 +56,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n.google/cloud/dialogflow/cx/v3/code_blo" + "ck.proto\022\035google.cloud.dialogflow.cx.v3\032" + "\037google/api/field_behavior.proto\"\036\n\tCode" - + "Block\022\021\n\004code\030\001 \001(\tB\003\340A\001B\215\001\n!com.google." + + "Block\022\021\n\004code\030\001 \001(\tB\003\340A\001B\261\001\n!com.google." + "cloud.dialogflow.cx.v3B\016CodeBlockProtoP\001" + "Z1cloud.google.com/go/dialogflow/cx/apiv" + "3/cxpb;cxpb\242\002\002DF\252\002\035Google.Cloud.Dialogfl" - + "ow.Cx.V3b\006proto3" + + "ow.Cx.V3\352\002!Google::Cloud::Dialogflow::CX" + + "::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExampleProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExampleProto.java index 175e9f4226a1..c39763dedb40 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExampleProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ExampleProto.java @@ -148,11 +148,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "laybooks/*/examples/*}:\007example\032x\312A\031dial" + "ogflow.googleapis.com\322AYhttps://www.goog" + "leapis.com/auth/cloud-platform,https://w" - + "ww.googleapis.com/auth/dialogflowB\213\001\n!co" + + "ww.googleapis.com/auth/dialogflowB\257\001\n!co" + "m.google.cloud.dialogflow.cx.v3B\014Example" + "ProtoP\001Z1cloud.google.com/go/dialogflow/" + "cx/apiv3/cxpb;cxpb\242\002\002DF\252\002\035Google.Cloud.D" - + "ialogflow.Cx.V3b\006proto3" + + "ialogflow.Cx.V3\352\002!Google::Cloud::Dialogf" + + "low::CX::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinition.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinition.java index 45f97236448f..f003e1cac0df 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinition.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinition.java @@ -408,7 +408,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -429,7 +429,7 @@ public int getTypeValue() { * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The type. */ @java.lang.Override @@ -1088,7 +1088,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The enum numeric value on the wire for type. */ @java.lang.Override @@ -1109,7 +1109,7 @@ public int getTypeValue() { * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1133,7 +1133,7 @@ public Builder setTypeValue(int value) { * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The type. */ @java.lang.Override @@ -1158,7 +1158,7 @@ public com.google.cloud.dialogflow.cx.v3.ParameterDefinition.ParameterType getTy * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @param value The type to set. * @return This builder for chaining. */ @@ -1186,7 +1186,7 @@ public Builder setType( * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionOrBuilder.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionOrBuilder.java index c88d6aaee0ff..484eea8c9f3f 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionOrBuilder.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionOrBuilder.java @@ -64,7 +64,7 @@ public interface ParameterDefinitionOrBuilder * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The enum numeric value on the wire for type. */ @java.lang.Deprecated @@ -82,7 +82,7 @@ public interface ParameterDefinitionOrBuilder * * * @deprecated google.cloud.dialogflow.cx.v3.ParameterDefinition.type is deprecated. See - * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=59 + * google/cloud/dialogflow/cx/v3/parameter_definition.proto;l=60 * @return The type. */ @java.lang.Deprecated diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionProto.java index d694cd196567..296a78419963 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ParameterDefinitionProto.java @@ -100,9 +100,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006STRING\020\001\022\n\n" + "\006NUMBER\020\002\022\013\n" + "\007BOOLEAN\020\003\022\t\n" - + "\005ARRAY\020\006Br\n" - + "!com.google.cloud.dialogflow.cx.v3B\030ParameterDefiniti" - + "onProtoP\001Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpbb\006proto3" + + "\005ARRAY\020\006B\226\001\n" + + "!com.google.cloud.dialogflow.cx.v3B\030ParameterDefinit" + + "ionProtoP\001Z1cloud.google.com/go/dialogfl" + + "ow/cx/apiv3/cxpb;cxpb\352\002!Google::Cloud::Dialogflow::CX::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybookProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybookProto.java index 1dec3dd080da..331e3434cd2c 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybookProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/PlaybookProto.java @@ -374,11 +374,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cations/*/agents/*/playbooks/*/versions/" + "*}\032x\312A\031dialogflow.googleapis.com\322AYhttps" + "://www.googleapis.com/auth/cloud-platfor" - + "m,https://www.googleapis.com/auth/dialogflowB\214\001\n" + + "m,https://www.googleapis.com/auth/dialogflowB\260\001\n" + "!com.google.cloud.dialogflow.cx.v3B\r" + "PlaybookProtoP\001Z1cloud.google.com/go" + "/dialogflow/cx/apiv3/cxpb;cxpb\242\002\002DF\252\002\035Go" - + "ogle.Cloud.Dialogflow.Cx.V3b\006proto3" + + "ogle.Cloud.Dialogflow.Cx.V3\352\002!Google::Cloud::Dialogflow::CX::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ToolProto.java b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ToolProto.java index 2db5b6e73788..872fd9479f3d 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ToolProto.java +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ToolProto.java @@ -361,9 +361,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "J\"E/v3/{name=projects/*/locations/*/agen" + "ts/*/tools/*/versions/*}:restore:\001*\032x\312A\031" + "dialogflow.googleapis.com\322AYhttps://www.googleapis.com/auth/cloud-platform,https" - + "://www.googleapis.com/auth/dialogflowB\210\001\n" + + "://www.googleapis.com/auth/dialogflowB\254\001\n" + "!com.google.cloud.dialogflow.cx.v3B\tToolProtoP\001Z1cloud.google.com/go/dialogflow" - + "/cx/apiv3/cxpb;cxpb\242\002\002DF\252\002\035Google.Cloud.Dialogflow.Cx.V3b\006proto3" + + "/cx/apiv3/cxpb;cxpb\242\002\002DF\252\002\035Google.Cloud." + + "Dialogflow.Cx.V3\352\002!Google::Cloud::Dialogflow::CX::V3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/code_block.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/code_block.proto index e6eeb36a96a1..f250d4afd902 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/code_block.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/code_block.proto @@ -24,6 +24,7 @@ option java_multiple_files = true; option java_outer_classname = "CodeBlockProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; option objc_class_prefix = "DF"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // Represents a code block. message CodeBlock { diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/example.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/example.proto index 9c8467a586ee..29c8a833b8ef 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/example.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/example.proto @@ -31,6 +31,7 @@ option java_multiple_files = true; option java_outer_classname = "ExampleProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; option objc_class_prefix = "DF"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // Service for managing [Examples][google.cloud.dialogflow.cx.v3.Example]. service Examples { diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/parameter_definition.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/parameter_definition.proto index 03839000be14..62e6c6f4c78a 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/parameter_definition.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/parameter_definition.proto @@ -22,6 +22,7 @@ option go_package = "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb"; option java_multiple_files = true; option java_outer_classname = "ParameterDefinitionProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // Defines the properties of a parameter. // Used to define parameters used in the agent and the diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/playbook.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/playbook.proto index fe8f373e79be..3c7b9ed532a5 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/playbook.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/playbook.proto @@ -38,6 +38,7 @@ option java_multiple_files = true; option java_outer_classname = "PlaybookProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; option objc_class_prefix = "DF"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // Service for managing [Playbooks][google.cloud.dialogflow.cx.v3.Playbook]. service Playbooks { diff --git a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/tool.proto b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/tool.proto index 1a66b277f8e2..231784cd7d79 100644 --- a/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/tool.proto +++ b/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/tool.proto @@ -32,6 +32,7 @@ option java_multiple_files = true; option java_outer_classname = "ToolProto"; option java_package = "com.google.cloud.dialogflow.cx.v3"; option objc_class_prefix = "DF"; +option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // Service for managing [Tools][google.cloud.dialogflow.cx.v3.Tool]. service Tools { diff --git a/java-dialogflow/.OwlBot-hermetic.yaml b/java-dialogflow/.OwlBot-hermetic.yaml index 7f6f56def354..37e26519f62b 100644 --- a/java-dialogflow/.OwlBot-hermetic.yaml +++ b/java-dialogflow/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dialogflow/google-.*/src" deep-preserve-regex: +- "/java-dialogflow/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dialogflow/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-dialogflow/google-cloud-dialogflow/src/test/java/com/google/cloud/dialogflow/v2/ContextManagementSmokeTest.java" - "/java-dialogflow/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ConversationModelName.java" diff --git a/java-dialogflow/README.md b/java-dialogflow/README.md index 3d8d5739518e..b5d235ae7e71 100644 --- a/java-dialogflow/README.md +++ b/java-dialogflow/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dialogflow - 4.94.0 + 4.95.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dialogflow:4.94.0' +implementation 'com.google.cloud:google-cloud-dialogflow:4.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dialogflow" % "4.95.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dialogflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dialogflow/4.95.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/Version.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/Version.java index 36eb21ba92cf..286cf86ef8b6 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/Version.java +++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dialogflow:current} - static final String VERSION = "4.95.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/Version.java b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/Version.java index 984d2bd57cab..be5846935ffc 100644 --- a/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/Version.java +++ b/java-dialogflow/google-cloud-dialogflow/src/main/java/com/google/cloud/dialogflow/v2beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dialogflow:current} - static final String VERSION = "4.95.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-discoveryengine/.OwlBot-hermetic.yaml b/java-discoveryengine/.OwlBot-hermetic.yaml index 699c60b17a4d..6634acf34a0a 100644 --- a/java-discoveryengine/.OwlBot-hermetic.yaml +++ b/java-discoveryengine/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-discoveryengine/samples/snippets/generated" deep-preserve-regex: +- "/java-discoveryengine/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-discoveryengine/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-discoveryengine/README.md b/java-discoveryengine/README.md index 7e8e15469670..5e496fce133f 100644 --- a/java-discoveryengine/README.md +++ b/java-discoveryengine/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-discoveryengine - 0.84.0 + 0.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-discoveryengine:0.84.0' +implementation 'com.google.cloud:google-cloud-discoveryengine:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-discoveryengine" % "0.85.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-discoveryengine/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-discoveryengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-discoveryengine/0.85.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/Version.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/Version.java index 0e2cbca55d89..c9a17240d496 100644 --- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/Version.java +++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-discoveryengine:current} - static final String VERSION = "0.85.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/Version.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/Version.java index 8282cd9a05c5..ab7c98430c5e 100644 --- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/Version.java +++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-discoveryengine:current} - static final String VERSION = "0.85.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/Version.java b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/Version.java index 46ca4967a0a9..33eb63e1e1b9 100644 --- a/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/Version.java +++ b/java-discoveryengine/google-cloud-discoveryengine/src/main/java/com/google/cloud/discoveryengine/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-discoveryengine:current} - static final String VERSION = "0.85.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-distributedcloudedge/.OwlBot-hermetic.yaml b/java-distributedcloudedge/.OwlBot-hermetic.yaml index 9448af24f929..74e3aa0dd957 100644 --- a/java-distributedcloudedge/.OwlBot-hermetic.yaml +++ b/java-distributedcloudedge/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-distributedcloudedge/samples/snippets/generated" deep-preserve-regex: +- "/java-distributedcloudedge/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-distributedcloudedge/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-distributedcloudedge/README.md b/java-distributedcloudedge/README.md index 17a203bcfc3a..0d169c0a4c27 100644 --- a/java-distributedcloudedge/README.md +++ b/java-distributedcloudedge/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-distributedcloudedge - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.85.0' +implementation 'com.google.cloud:google-cloud-distributedcloudedge:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-distributedcloudedge" % "0.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-distributedcloudedge/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-distributedcloudedge.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-distributedcloudedge/0.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/Version.java b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/Version.java index 463d2bb6e93d..7acbe84a9725 100644 --- a/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/Version.java +++ b/java-distributedcloudedge/google-cloud-distributedcloudedge/src/main/java/com/google/cloud/edgecontainer/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-distributedcloudedge:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dlp/.OwlBot-hermetic.yaml b/java-dlp/.OwlBot-hermetic.yaml index cf08029e3799..d1f0c4cefa08 100644 --- a/java-dlp/.OwlBot-hermetic.yaml +++ b/java-dlp/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-dlp/samples/snippets/generated" deep-preserve-regex: +- "/java-dlp/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-dlp/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/DeidentifyTemplateNames.java" - "/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/InspectFindingName.java" diff --git a/java-dlp/README.md b/java-dlp/README.md index c9dffaff65ee..7a5409df1a90 100644 --- a/java-dlp/README.md +++ b/java-dlp/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dlp - 3.92.0 + 3.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dlp:3.92.0' +implementation 'com.google.cloud:google-cloud-dlp:3.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dlp" % "3.93.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dlp/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dlp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dlp/3.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/Version.java b/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/Version.java index bcba2c0a1803..80de795df566 100644 --- a/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/Version.java +++ b/java-dlp/google-cloud-dlp/src/main/java/com/google/cloud/dlp/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dlp:current} - static final String VERSION = "3.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-dms/README.md b/java-dms/README.md index 0e9c901c5dfd..469a0055f24b 100644 --- a/java-dms/README.md +++ b/java-dms/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-dms - 2.87.0 + 2.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-dms:2.87.0' +implementation 'com.google.cloud:google-cloud-dms:2.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-dms" % "2.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-dms/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-dms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-dms/2.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/Version.java b/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/Version.java index 71181e767d9e..08a8fce97e2a 100644 --- a/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/Version.java +++ b/java-dms/google-cloud-dms/src/main/java/com/google/cloud/clouddms/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-dms:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-document-ai/README.md b/java-document-ai/README.md index a198d4216df9..4d33478af340 100644 --- a/java-document-ai/README.md +++ b/java-document-ai/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 2.92.0 + 2.93.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-document-ai:2.92.0' +implementation 'com.google.cloud:google-cloud-document-ai:2.93.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.92.0" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.93.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-document-ai/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.92.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-document-ai/2.93.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/Version.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/Version.java index 5f3fab2ccd05..1cdd577d6c85 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/Version.java +++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-document-ai:current} - static final String VERSION = "2.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/Version.java b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/Version.java index 32f99b53ea18..87b11a52e5c1 100644 --- a/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/Version.java +++ b/java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-document-ai:current} - static final String VERSION = "2.93.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-domains/README.md b/java-domains/README.md index 35e806b62700..dbc692118877 100644 --- a/java-domains/README.md +++ b/java-domains/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-domains - 1.85.0 + 1.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-domains:1.85.0' +implementation 'com.google.cloud:google-cloud-domains:1.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-domains" % "1.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-domains/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-domains.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-domains/1.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/Version.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/Version.java index 95840401fc1f..6542eb4f5014 100644 --- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/Version.java +++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-domains:current} - static final String VERSION = "1.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/Version.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/Version.java index 79eeb8b41cbc..11059d4e0cf9 100644 --- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/Version.java +++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-domains:current} - static final String VERSION = "1.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/Version.java b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/Version.java index c1150cf1a17a..a26770dca6bd 100644 --- a/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/Version.java +++ b/java-domains/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-domains:current} - static final String VERSION = "1.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-edgenetwork/.OwlBot-hermetic.yaml b/java-edgenetwork/.OwlBot-hermetic.yaml index b7f47c1026d7..0e642e961c6c 100644 --- a/java-edgenetwork/.OwlBot-hermetic.yaml +++ b/java-edgenetwork/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-edgenetwork/samples/snippets/generated" deep-preserve-regex: +- "/java-edgenetwork/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-edgenetwork/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-edgenetwork/README.md b/java-edgenetwork/README.md index d8b3f8166183..ccfd2561e601 100644 --- a/java-edgenetwork/README.md +++ b/java-edgenetwork/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-edgenetwork - 0.56.0 + 0.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-edgenetwork:0.56.0' +implementation 'com.google.cloud:google-cloud-edgenetwork:0.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-edgenetwork" % "0.57.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-edgenetwork/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-edgenetwork.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-edgenetwork/0.57.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/Version.java b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/Version.java index 1f243079a2aa..2271d3688f3b 100644 --- a/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/Version.java +++ b/java-edgenetwork/google-cloud-edgenetwork/src/main/java/com/google/cloud/edgenetwork/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-edgenetwork:current} - static final String VERSION = "0.57.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-enterpriseknowledgegraph/.OwlBot-hermetic.yaml b/java-enterpriseknowledgegraph/.OwlBot-hermetic.yaml index 7ed057bb97a1..16b13745b42b 100644 --- a/java-enterpriseknowledgegraph/.OwlBot-hermetic.yaml +++ b/java-enterpriseknowledgegraph/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-enterpriseknowledgegraph/samples/snippets/generated" deep-preserve-regex: +- "/java-enterpriseknowledgegraph/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-enterpriseknowledgegraph/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-enterpriseknowledgegraph/README.md b/java-enterpriseknowledgegraph/README.md index 46ee3110b1f2..f1d4aed04732 100644 --- a/java-enterpriseknowledgegraph/README.md +++ b/java-enterpriseknowledgegraph/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-enterpriseknowledgegraph - 0.84.0 + 0.85.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.84.0' +implementation 'com.google.cloud:google-cloud-enterpriseknowledgegraph:0.85.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.84.0" +libraryDependencies += "com.google.cloud" % "google-cloud-enterpriseknowledgegraph" % "0.85.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-enterpriseknowledgegraph/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-enterpriseknowledgegraph.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.84.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-enterpriseknowledgegraph/0.85.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/Version.java b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/Version.java index 8e031145376e..61fac4109459 100644 --- a/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/Version.java +++ b/java-enterpriseknowledgegraph/google-cloud-enterpriseknowledgegraph/src/main/java/com/google/cloud/enterpriseknowledgegraph/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-enterpriseknowledgegraph:current} - static final String VERSION = "0.85.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-errorreporting/.OwlBot-hermetic.yaml b/java-errorreporting/.OwlBot-hermetic.yaml index cbbbf0ed7680..82ae77cc9855 100644 --- a/java-errorreporting/.OwlBot-hermetic.yaml +++ b/java-errorreporting/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-errorreporting/samples/snippets/generated" deep-preserve-regex: +- "/java-errorreporting/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-errorreporting/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-errorreporting/google-cloud-errorreporting/src/test/java/com/google/devtools/clouderrorreporting/v1beta1/ITSystemTest.java" - "/java-errorreporting/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java" diff --git a/java-errorreporting/README.md b/java-errorreporting/README.md index 78101e7303a7..dc62fa059719 100644 --- a/java-errorreporting/README.md +++ b/java-errorreporting/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-errorreporting - 0.209.0-beta + 0.210.0-beta ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-errorreporting:0.209.0-beta' +implementation 'com.google.cloud:google-cloud-errorreporting:0.210.0-beta' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.209.0-beta" +libraryDependencies += "com.google.cloud" % "google-cloud-errorreporting" % "0.210.0-beta" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-errorreporting/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-errorreporting.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.209.0-beta +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-errorreporting/0.210.0-beta [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/Version.java b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/Version.java index cd86587c7c43..87afe8ac7532 100644 --- a/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/Version.java +++ b/java-errorreporting/google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-errorreporting:current} - static final String VERSION = "0.210.0-beta"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-essential-contacts/README.md b/java-essential-contacts/README.md index c6cfb3b19bec..38dfbaa5c6b6 100644 --- a/java-essential-contacts/README.md +++ b/java-essential-contacts/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-essential-contacts - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-essential-contacts:2.88.0' +implementation 'com.google.cloud:google-cloud-essential-contacts:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-essential-contacts" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-essential-contacts/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-essential-contacts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-essential-contacts/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/Version.java b/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/Version.java index 9422067081ee..e881d8fecb0a 100644 --- a/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/Version.java +++ b/java-essential-contacts/google-cloud-essential-contacts/src/main/java/com/google/cloud/essentialcontacts/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-essential-contacts:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-eventarc-publishing/.OwlBot-hermetic.yaml b/java-eventarc-publishing/.OwlBot-hermetic.yaml index 6422000acdc1..08c24cf681dc 100644 --- a/java-eventarc-publishing/.OwlBot-hermetic.yaml +++ b/java-eventarc-publishing/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-eventarc-publishing/samples/snippets/generated" deep-preserve-regex: +- "/java-eventarc-publishing/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-eventarc-publishing/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-eventarc-publishing/README.md b/java-eventarc-publishing/README.md index 78b14ba7d1c1..4e7bebe35f88 100644 --- a/java-eventarc-publishing/README.md +++ b/java-eventarc-publishing/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc-publishing - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.88.0' +implementation 'com.google.cloud:google-cloud-eventarc-publishing:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc-publishing" % "0.89.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-eventarc-publishing/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc-publishing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc-publishing/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/Version.java b/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/Version.java index 78164f25d43d..15dcc30a4810 100644 --- a/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/Version.java +++ b/java-eventarc-publishing/google-cloud-eventarc-publishing/src/main/java/com/google/cloud/eventarc/publishing/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-eventarc-publishing:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-eventarc/.OwlBot-hermetic.yaml b/java-eventarc/.OwlBot-hermetic.yaml index 9da183dae769..70473aaa8eee 100644 --- a/java-eventarc/.OwlBot-hermetic.yaml +++ b/java-eventarc/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-eventarc/google-.*/src" deep-preserve-regex: +- "/java-eventarc/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-eventarc/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-eventarc/README.md b/java-eventarc/README.md index 32faaa904f24..7d789abbab44 100644 --- a/java-eventarc/README.md +++ b/java-eventarc/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-eventarc - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-eventarc:1.88.0' +implementation 'com.google.cloud:google-cloud-eventarc:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-eventarc" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-eventarc/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-eventarc.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-eventarc/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/Version.java b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/Version.java index c94ae6799552..79389bb9e18c 100644 --- a/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/Version.java +++ b/java-eventarc/google-cloud-eventarc/src/main/java/com/google/cloud/eventarc/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-eventarc:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-filestore/.OwlBot-hermetic.yaml b/java-filestore/.OwlBot-hermetic.yaml index 7d3011160377..92925982ca93 100644 --- a/java-filestore/.OwlBot-hermetic.yaml +++ b/java-filestore/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-filestore/google-.*/src" deep-preserve-regex: +- "/java-filestore/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-filestore/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-filestore/README.md b/java-filestore/README.md index 09bd9602d109..57fa38f9634e 100644 --- a/java-filestore/README.md +++ b/java-filestore/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-filestore - 1.89.0 + 1.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-filestore:1.89.0' +implementation 'com.google.cloud:google-cloud-filestore:1.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-filestore" % "1.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-filestore/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-filestore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-filestore/1.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/Version.java b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/Version.java index 57110b2a6709..6ed58e06fd52 100644 --- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/Version.java +++ b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-filestore:current} - static final String VERSION = "1.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/Version.java b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/Version.java index dd9b3aefa2e3..6bff363fe24b 100644 --- a/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/Version.java +++ b/java-filestore/google-cloud-filestore/src/main/java/com/google/cloud/filestore/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-filestore:current} - static final String VERSION = "1.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-financialservices/.OwlBot-hermetic.yaml b/java-financialservices/.OwlBot-hermetic.yaml index 12d991f366e4..5bc47bb3a2ca 100644 --- a/java-financialservices/.OwlBot-hermetic.yaml +++ b/java-financialservices/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-financialservices/samples/snippets/generated" deep-preserve-regex: +- "/java-financialservices/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-financialservices/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-financialservices/README.md b/java-financialservices/README.md index 04e7542fda5e..b1edcadf5183 100644 --- a/java-financialservices/README.md +++ b/java-financialservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-financialservices - 0.29.0 + 0.30.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-financialservices:0.29.0' +implementation 'com.google.cloud:google-cloud-financialservices:0.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-financialservices" % "0.30.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-financialservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-financialservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-financialservices/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-financialservices/google-cloud-financialservices/src/main/java/com/google/cloud/financialservices/v1/stub/Version.java b/java-financialservices/google-cloud-financialservices/src/main/java/com/google/cloud/financialservices/v1/stub/Version.java index da8644b93a52..81d88f7cbd0a 100644 --- a/java-financialservices/google-cloud-financialservices/src/main/java/com/google/cloud/financialservices/v1/stub/Version.java +++ b/java-financialservices/google-cloud-financialservices/src/main/java/com/google/cloud/financialservices/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-financialservices:current} - static final String VERSION = "0.30.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-functions/README.md b/java-functions/README.md index 5b4f5569b6ec..41e918135c84 100644 --- a/java-functions/README.md +++ b/java-functions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-functions - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-functions:2.90.0' +implementation 'com.google.cloud:google-cloud-functions:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-functions" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-functions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-functions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-functions/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/Version.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/Version.java index 2878ff0e343d..c9ef75778b0e 100644 --- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/Version.java +++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-functions:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/Version.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/Version.java index dd02e95fcc43..bd46d02e9ac9 100644 --- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/Version.java +++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-functions:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/Version.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/Version.java index e02c922199e1..5fca2dcabed6 100644 --- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/Version.java +++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-functions:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/Version.java b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/Version.java index abc906ba4540..b2269232412f 100644 --- a/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/Version.java +++ b/java-functions/google-cloud-functions/src/main/java/com/google/cloud/functions/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-functions:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gdchardwaremanagement/.OwlBot-hermetic.yaml b/java-gdchardwaremanagement/.OwlBot-hermetic.yaml index 792ebbba21b4..34443bf3d094 100644 --- a/java-gdchardwaremanagement/.OwlBot-hermetic.yaml +++ b/java-gdchardwaremanagement/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-gdchardwaremanagement/samples/snippets/generated" deep-preserve-regex: +- "/java-gdchardwaremanagement/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-gdchardwaremanagement/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-gdchardwaremanagement/README.md b/java-gdchardwaremanagement/README.md index 727114506b9f..a04d5cb47058 100644 --- a/java-gdchardwaremanagement/README.md +++ b/java-gdchardwaremanagement/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gdchardwaremanagement - 0.43.0 + 0.44.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.43.0' +implementation 'com.google.cloud:google-cloud-gdchardwaremanagement:0.44.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.43.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gdchardwaremanagement" % "0.44.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gdchardwaremanagement/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gdchardwaremanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.43.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gdchardwaremanagement/0.44.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gdchardwaremanagement/google-cloud-gdchardwaremanagement/src/main/java/com/google/cloud/gdchardwaremanagement/v1alpha/stub/Version.java b/java-gdchardwaremanagement/google-cloud-gdchardwaremanagement/src/main/java/com/google/cloud/gdchardwaremanagement/v1alpha/stub/Version.java index e76a6d38ccab..909f952249e2 100644 --- a/java-gdchardwaremanagement/google-cloud-gdchardwaremanagement/src/main/java/com/google/cloud/gdchardwaremanagement/v1alpha/stub/Version.java +++ b/java-gdchardwaremanagement/google-cloud-gdchardwaremanagement/src/main/java/com/google/cloud/gdchardwaremanagement/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gdchardwaremanagement:current} - static final String VERSION = "0.44.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-geminidataanalytics/.OwlBot-hermetic.yaml b/java-geminidataanalytics/.OwlBot-hermetic.yaml index 11ff178488ac..5e3ed72b4481 100644 --- a/java-geminidataanalytics/.OwlBot-hermetic.yaml +++ b/java-geminidataanalytics/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-geminidataanalytics/samples/snippets/generated" deep-preserve-regex: +- "/java-geminidataanalytics/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-geminidataanalytics/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-geminidataanalytics/README.md b/java-geminidataanalytics/README.md index 973bb8edb9b2..b381a9a57af7 100644 --- a/java-geminidataanalytics/README.md +++ b/java-geminidataanalytics/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-geminidataanalytics - 0.16.0 + 0.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.16.0' +implementation 'com.google.cloud:google-cloud-geminidataanalytics:0.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.16.0" +libraryDependencies += "com.google.cloud" % "google-cloud-geminidataanalytics" % "0.17.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-geminidataanalytics/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-geminidataanalytics.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-geminidataanalytics/0.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/stub/Version.java b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/stub/Version.java index 38c4332136bf..dc487c015855 100644 --- a/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/stub/Version.java +++ b/java-geminidataanalytics/google-cloud-geminidataanalytics/src/main/java/com/google/cloud/geminidataanalytics/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-geminidataanalytics:current} - static final String VERSION = "0.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gke-backup/.OwlBot-hermetic.yaml b/java-gke-backup/.OwlBot-hermetic.yaml index 147181105e13..fec17c0f46e2 100644 --- a/java-gke-backup/.OwlBot-hermetic.yaml +++ b/java-gke-backup/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-gke-backup/google-.*/src" deep-preserve-regex: +- "/java-gke-backup/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-gke-backup/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-gke-backup/README.md b/java-gke-backup/README.md index 1dfdb7dbfedf..a26821278723 100644 --- a/java-gke-backup/README.md +++ b/java-gke-backup/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-backup - 0.87.0 + 0.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-backup:0.87.0' +implementation 'com.google.cloud:google-cloud-gke-backup:0.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-backup" % "0.88.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-backup/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-backup.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-backup/0.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/Version.java b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/Version.java index 96c124033293..8754f1d56ad4 100644 --- a/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/Version.java +++ b/java-gke-backup/google-cloud-gke-backup/src/main/java/com/google/cloud/gkebackup/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gke-backup:current} - static final String VERSION = "0.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gke-connect-gateway/README.md b/java-gke-connect-gateway/README.md index 5110e6ffb43f..001210e2a158 100644 --- a/java-gke-connect-gateway/README.md +++ b/java-gke-connect-gateway/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-connect-gateway - 0.89.0 + 0.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.89.0' +implementation 'com.google.cloud:google-cloud-gke-connect-gateway:0.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-connect-gateway" % "0.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-connect-gateway/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-connect-gateway.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-connect-gateway/0.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/Version.java b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/Version.java index 2e6f11ec0c5d..baa782d61bb3 100644 --- a/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/Version.java +++ b/java-gke-connect-gateway/google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gke-connect-gateway:current} - static final String VERSION = "0.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gke-multi-cloud/.OwlBot-hermetic.yaml b/java-gke-multi-cloud/.OwlBot-hermetic.yaml index ae9a6e474eeb..c4f2a0511175 100644 --- a/java-gke-multi-cloud/.OwlBot-hermetic.yaml +++ b/java-gke-multi-cloud/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-gke-multi-cloud/google-.*/src" deep-preserve-regex: +- "/java-gke-multi-cloud/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-gke-multi-cloud/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-gke-multi-cloud/README.md b/java-gke-multi-cloud/README.md index 03c12bf86418..d0b1ea4080fc 100644 --- a/java-gke-multi-cloud/README.md +++ b/java-gke-multi-cloud/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gke-multi-cloud - 0.87.0 + 0.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.87.0' +implementation 'com.google.cloud:google-cloud-gke-multi-cloud:0.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gke-multi-cloud" % "0.88.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gke-multi-cloud/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gke-multi-cloud.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gke-multi-cloud/0.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/Version.java b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/Version.java index fc60bb9e4026..eeaa397c7d7b 100644 --- a/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/Version.java +++ b/java-gke-multi-cloud/google-cloud-gke-multi-cloud/src/main/java/com/google/cloud/gkemulticloud/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gke-multi-cloud:current} - static final String VERSION = "0.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gkehub/README.md b/java-gkehub/README.md index b63d6c10fd5f..2a50bf5909f9 100644 --- a/java-gkehub/README.md +++ b/java-gkehub/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkehub - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkehub:1.88.0' +implementation 'com.google.cloud:google-cloud-gkehub:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkehub" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gkehub/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gkehub.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkehub/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1/stub/Version.java b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1/stub/Version.java index 647b1cdea3e6..ed31934079e6 100644 --- a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1/stub/Version.java +++ b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gkehub:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1alpha/stub/Version.java b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1alpha/stub/Version.java index 1806314ee984..610d78ea5040 100644 --- a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1alpha/stub/Version.java +++ b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gkehub:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta/stub/Version.java b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta/stub/Version.java index c84d9de9d4fe..106bf85c41b8 100644 --- a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta/stub/Version.java +++ b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gkehub:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta1/stub/Version.java b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta1/stub/Version.java index 80b353471cc4..0b3d120ce7cd 100644 --- a/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta1/stub/Version.java +++ b/java-gkehub/google-cloud-gkehub/src/main/java/com/google/cloud/gkehub/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gkehub:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gkerecommender/.OwlBot-hermetic.yaml b/java-gkerecommender/.OwlBot-hermetic.yaml index c382d5f47606..25fa29188d60 100644 --- a/java-gkerecommender/.OwlBot-hermetic.yaml +++ b/java-gkerecommender/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-gkerecommender/samples/snippets/generated" deep-preserve-regex: +- "/java-gkerecommender/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-gkerecommender/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-gkerecommender/README.md b/java-gkerecommender/README.md index 1701d993831c..95e8e4cba3be 100644 --- a/java-gkerecommender/README.md +++ b/java-gkerecommender/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gkerecommender - 0.8.0 + 0.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gkerecommender:0.8.0' +implementation 'com.google.cloud:google-cloud-gkerecommender:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gkerecommender" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gkerecommender" % "0.9.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gkerecommender/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gkerecommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkerecommender/0.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gkerecommender/0.9.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gkerecommender/google-cloud-gkerecommender/src/main/java/com/google/cloud/gkerecommender/v1/stub/Version.java b/java-gkerecommender/google-cloud-gkerecommender/src/main/java/com/google/cloud/gkerecommender/v1/stub/Version.java index d66c2748e2c9..5d1056767072 100644 --- a/java-gkerecommender/google-cloud-gkerecommender/src/main/java/com/google/cloud/gkerecommender/v1/stub/Version.java +++ b/java-gkerecommender/google-cloud-gkerecommender/src/main/java/com/google/cloud/gkerecommender/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gkerecommender:current} - static final String VERSION = "0.9.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-grafeas/.OwlBot-hermetic.yaml b/java-grafeas/.OwlBot-hermetic.yaml index 17dcf7028e3e..0213d22e2c47 100644 --- a/java-grafeas/.OwlBot-hermetic.yaml +++ b/java-grafeas/.OwlBot-hermetic.yaml @@ -17,6 +17,7 @@ deep-remove-regex: - "/src" deep-preserve-regex: +- "/java-grafeas/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-grafeas/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-grafeas/samples/snippets/generated" diff --git a/java-grafeas/README.md b/java-grafeas/README.md index c7d09e24c97b..517bbe68e94c 100644 --- a/java-grafeas/README.md +++ b/java-grafeas/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: io.grafeas grafeas - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'io.grafeas:grafeas:2.89.0' +implementation 'io.grafeas:grafeas:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "io.grafeas" % "grafeas" % "2.89.0" +libraryDependencies += "io.grafeas" % "grafeas" % "2.90.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/grafeas/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/io.grafeas/grafeas.svg -[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/io.grafeas/grafeas/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-grafeas/src/main/java/io/grafeas/v1/stub/Version.java b/java-grafeas/src/main/java/io/grafeas/v1/stub/Version.java index 196db3e001bb..01fa512f7aba 100644 --- a/java-grafeas/src/main/java/io/grafeas/v1/stub/Version.java +++ b/java-grafeas/src/main/java/io/grafeas/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:grafeas:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-gsuite-addons/README.md b/java-gsuite-addons/README.md index b45740ea6bae..76898ff1cc32 100644 --- a/java-gsuite-addons/README.md +++ b/java-gsuite-addons/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-gsuite-addons - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.88.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-gsuite-addons/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-gsuite-addons.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-gsuite-addons/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-gsuite-addons/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/Version.java b/java-gsuite-addons/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/Version.java index 7f2aa62d9e4e..a189f416d0dc 100644 --- a/java-gsuite-addons/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/Version.java +++ b/java-gsuite-addons/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-gsuite-addons:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-hypercomputecluster/.OwlBot-hermetic.yaml b/java-hypercomputecluster/.OwlBot-hermetic.yaml index b1b3bad02ca9..98866f7f7038 100644 --- a/java-hypercomputecluster/.OwlBot-hermetic.yaml +++ b/java-hypercomputecluster/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-hypercomputecluster/samples/snippets/generated" deep-preserve-regex: +- "/java-hypercomputecluster/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-hypercomputecluster/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-hypercomputecluster/README.md b/java-hypercomputecluster/README.md index 23ec54745824..2d0127ae25e6 100644 --- a/java-hypercomputecluster/README.md +++ b/java-hypercomputecluster/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-hypercomputecluster - 0.8.0 + 0.9.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-hypercomputecluster:0.8.0' +implementation 'com.google.cloud:google-cloud-hypercomputecluster:0.9.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-hypercomputecluster" % "0.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-hypercomputecluster" % "0.9.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-hypercomputecluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-hypercomputecluster/0.8.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-hypercomputecluster/0.9.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1/stub/Version.java b/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1/stub/Version.java index 3957b236e503..9c23a94f22e0 100644 --- a/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1/stub/Version.java +++ b/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-hypercomputecluster:current} - static final String VERSION = "0.9.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1beta/stub/Version.java b/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1beta/stub/Version.java index 0cb16eb9a866..36ff38d12328 100644 --- a/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1beta/stub/Version.java +++ b/java-hypercomputecluster/google-cloud-hypercomputecluster/src/main/java/com/google/cloud/hypercomputecluster/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-hypercomputecluster:current} - static final String VERSION = "0.9.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iam-admin/.OwlBot-hermetic.yaml b/java-iam-admin/.OwlBot-hermetic.yaml index 265804006a7b..67d1a5ea94c7 100644 --- a/java-iam-admin/.OwlBot-hermetic.yaml +++ b/java-iam-admin/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-iam-admin/samples/snippets/generated" deep-preserve-regex: +- "/java-iam-admin/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-iam-admin/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-iam-admin/README.md b/java-iam-admin/README.md index 48249dbd89d3..c88db7d32762 100644 --- a/java-iam-admin/README.md +++ b/java-iam-admin/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-admin - 3.83.0 + 3.84.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-admin:3.83.0' +implementation 'com.google.cloud:google-iam-admin:3.84.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.83.0" +libraryDependencies += "com.google.cloud" % "google-iam-admin" % "3.84.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-iam-admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.83.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-admin/3.84.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam-admin/google-iam-admin/src/main/java/com/google/cloud/iam/admin/v1/stub/Version.java b/java-iam-admin/google-iam-admin/src/main/java/com/google/cloud/iam/admin/v1/stub/Version.java index 31b2788e44c3..37beb1880cbd 100644 --- a/java-iam-admin/google-iam-admin/src/main/java/com/google/cloud/iam/admin/v1/stub/Version.java +++ b/java-iam-admin/google-iam-admin/src/main/java/com/google/cloud/iam/admin/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-iam-admin:current} - static final String VERSION = "3.84.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iam/.OwlBot-hermetic.yaml b/java-iam/.OwlBot-hermetic.yaml index 9636741ac575..9f431002ffdb 100644 --- a/java-iam/.OwlBot-hermetic.yaml +++ b/java-iam/.OwlBot-hermetic.yaml @@ -18,6 +18,7 @@ deep-remove-regex: - "/java-iam/proto-google-.*/src" deep-preserve-regex: + - "/java-iam/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-iam/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-iam/samples/snippets/generated" diff --git a/java-iam/README.md b/java-iam/README.md index 1dc34167f317..3104e2adf8a4 100644 --- a/java-iam/README.md +++ b/java-iam/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-iam-policy - 1.62.0 + 1.63.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-iam-policy:1.62.0' +implementation 'com.google.cloud:google-iam-policy:1.63.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.62.0" +libraryDependencies += "com.google.cloud" % "google-iam-policy" % "1.63.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/proto-google-iam-v1/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-iam-policy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.62.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-iam-policy/1.63.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/Version.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/Version.java index 6f7105d06cab..6f7db4abee58 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/Version.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-iam-policy:current} - static final String VERSION = "1.63.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/Version.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/Version.java index 9867307db400..7add05149bb6 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/Version.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-iam-policy:current} - static final String VERSION = "1.63.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v3/stub/Version.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v3/stub/Version.java index b216b5e6ab37..849ba9524b93 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v3/stub/Version.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-iam-policy:current} - static final String VERSION = "1.63.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iam/google-iam-policy/src/main/java/com/google/iam/v3beta/stub/Version.java b/java-iam/google-iam-policy/src/main/java/com/google/iam/v3beta/stub/Version.java index a39eb6e70dd6..d00e4eeae99e 100644 --- a/java-iam/google-iam-policy/src/main/java/com/google/iam/v3beta/stub/Version.java +++ b/java-iam/google-iam-policy/src/main/java/com/google/iam/v3beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-iam-policy:current} - static final String VERSION = "1.63.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iamcredentials/.OwlBot-hermetic.yaml b/java-iamcredentials/.OwlBot-hermetic.yaml index c5633ecd4886..557800e64afe 100644 --- a/java-iamcredentials/.OwlBot-hermetic.yaml +++ b/java-iamcredentials/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-iamcredentials/samples/snippets/generated" deep-preserve-regex: +- "/java-iamcredentials/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-iamcredentials/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-iamcredentials/README.md b/java-iamcredentials/README.md index 79465c9c55b3..2f4a678359df 100644 --- a/java-iamcredentials/README.md +++ b/java-iamcredentials/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iamcredentials - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iamcredentials:2.88.0' +implementation 'com.google.cloud:google-cloud-iamcredentials:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iamcredentials" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iamcredentials/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iamcredentials.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iamcredentials/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iamcredentials/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/Version.java b/java-iamcredentials/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/Version.java index 963cabfaa60d..3b415974f2c8 100644 --- a/java-iamcredentials/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/Version.java +++ b/java-iamcredentials/google-cloud-iamcredentials/src/main/java/com/google/cloud/iam/credentials/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-iamcredentials:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-iap/.OwlBot-hermetic.yaml b/java-iap/.OwlBot-hermetic.yaml index 0b53a73a07b7..596a6830c322 100644 --- a/java-iap/.OwlBot-hermetic.yaml +++ b/java-iap/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-iap/samples/snippets/generated" deep-preserve-regex: +- "/java-iap/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-iap/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-iap/README.md b/java-iap/README.md index 3bd10be8fd21..dc0d53eceedd 100644 --- a/java-iap/README.md +++ b/java-iap/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iap - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iap:0.44.0' +implementation 'com.google.cloud:google-cloud-iap:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iap" % "0.45.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iap/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iap.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iap/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iap/google-cloud-iap/src/main/java/com/google/cloud/iap/v1/stub/Version.java b/java-iap/google-cloud-iap/src/main/java/com/google/cloud/iap/v1/stub/Version.java index 4c3973c0f9d0..4afb39781bb5 100644 --- a/java-iap/google-cloud-iap/src/main/java/com/google/cloud/iap/v1/stub/Version.java +++ b/java-iap/google-cloud-iap/src/main/java/com/google/cloud/iap/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-iap:current} - static final String VERSION = "0.45.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-ids/.OwlBot-hermetic.yaml b/java-ids/.OwlBot-hermetic.yaml index e3fefa44d314..4c8e94fbe46f 100644 --- a/java-ids/.OwlBot-hermetic.yaml +++ b/java-ids/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-ids/google-.*/src" deep-preserve-regex: +- "/java-ids/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-ids/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-ids/README.md b/java-ids/README.md index ff2d32a3a2db..6a9130da6d7d 100644 --- a/java-ids/README.md +++ b/java-ids/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-ids - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-ids:1.87.0' +implementation 'com.google.cloud:google-cloud-ids:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-ids" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-ids/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-ids.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-ids/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/Version.java b/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/Version.java index 9a1213f6ce9e..3fc408f28fb5 100644 --- a/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/Version.java +++ b/java-ids/google-cloud-ids/src/main/java/com/google/cloud/ids/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-ids:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-infra-manager/.OwlBot-hermetic.yaml b/java-infra-manager/.OwlBot-hermetic.yaml index d556d4228b2b..221ef591a9a6 100644 --- a/java-infra-manager/.OwlBot-hermetic.yaml +++ b/java-infra-manager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-infra-manager/samples/snippets/generated" deep-preserve-regex: +- "/java-infra-manager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-infra-manager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-infra-manager/README.md b/java-infra-manager/README.md index ad6cafbcfe81..8d08f4521570 100644 --- a/java-infra-manager/README.md +++ b/java-infra-manager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-infra-manager - 0.65.0 + 0.66.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-infra-manager:0.65.0' +implementation 'com.google.cloud:google-cloud-infra-manager:0.66.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.65.0" +libraryDependencies += "com.google.cloud" % "google-cloud-infra-manager" % "0.66.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-infra-manager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-infra-manager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.65.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.66.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java index 50b3d7b7491d..9122e6122393 100644 --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java @@ -628,8 +628,196 @@ * * * + *

GetDeploymentGroup + *

Get a DeploymentGroup for a given project and location. + * + *

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

+ *
    + *
  • getDeploymentGroup(GetDeploymentGroupRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getDeploymentGroup(DeploymentGroupName name) + *

  • getDeploymentGroup(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getDeploymentGroupCallable() + *

+ * + * + * + *

CreateDeploymentGroup + *

Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. + * + *

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

+ *
    + *
  • createDeploymentGroupAsync(CreateDeploymentGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • createDeploymentGroupAsync(LocationName parent, DeploymentGroup deploymentGroup, String deploymentGroupId) + *

  • createDeploymentGroupAsync(String parent, DeploymentGroup deploymentGroup, String deploymentGroupId) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createDeploymentGroupOperationCallable() + *

  • createDeploymentGroupCallable() + *

+ * + * + * + *

UpdateDeploymentGroup + *

Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

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

+ *
    + *
  • updateDeploymentGroupAsync(UpdateDeploymentGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • updateDeploymentGroupAsync(DeploymentGroup deploymentGroup, FieldMask updateMask) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • updateDeploymentGroupOperationCallable() + *

  • updateDeploymentGroupCallable() + *

+ * + * + * + *

DeleteDeploymentGroup + *

Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

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

+ *
    + *
  • deleteDeploymentGroupAsync(DeleteDeploymentGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • deleteDeploymentGroupAsync(DeploymentGroupName name) + *

  • deleteDeploymentGroupAsync(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteDeploymentGroupOperationCallable() + *

  • deleteDeploymentGroupCallable() + *

+ * + * + * + *

ListDeploymentGroups + *

List DeploymentGroups for a given project and location. + * + *

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

+ *
    + *
  • listDeploymentGroups(ListDeploymentGroupsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listDeploymentGroups(LocationName parent) + *

  • listDeploymentGroups(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listDeploymentGroupsPagedCallable() + *

  • listDeploymentGroupsCallable() + *

+ * + * + * + *

ProvisionDeploymentGroup + *

Provisions a deployment group. + *

NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the + *

    + *
  • last successful* [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no longer* included in the *current* [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an `UpdateDeploymentGroup` call), along with their actuated resources. + *
+ * + *

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

+ *
    + *
  • provisionDeploymentGroupAsync(ProvisionDeploymentGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • provisionDeploymentGroupAsync(DeploymentGroupName name) + *

  • provisionDeploymentGroupAsync(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • provisionDeploymentGroupOperationCallable() + *

  • provisionDeploymentGroupCallable() + *

+ * + * + * + *

DeprovisionDeploymentGroup + *

Deprovisions a deployment group. + *

NOTE: As a first step of this operation, Infra Manager will automatically delete any Deployments that were part of the + *

    + *
  • last successful* [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no longer* included in the *current* [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an `UpdateDeploymentGroup` call), along with their actuated resources. + *
+ * + *

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

+ *
    + *
  • deprovisionDeploymentGroupAsync(DeprovisionDeploymentGroupRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • deprovisionDeploymentGroupAsync(DeploymentGroupName name) + *

  • deprovisionDeploymentGroupAsync(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deprovisionDeploymentGroupOperationCallable() + *

  • deprovisionDeploymentGroupCallable() + *

+ * + * + * + *

GetDeploymentGroupRevision + *

Gets details about a [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + * + *

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

+ *
    + *
  • getDeploymentGroupRevision(GetDeploymentGroupRevisionRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • getDeploymentGroupRevision(DeploymentGroupRevisionName name) + *

  • getDeploymentGroupRevision(String name) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getDeploymentGroupRevisionCallable() + *

+ * + * + * + *

ListDeploymentGroupRevisions + *

Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

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

+ *
    + *
  • listDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest request) + *

+ *

"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.

+ *
    + *
  • listDeploymentGroupRevisions(DeploymentGroupName parent) + *

  • listDeploymentGroupRevisions(String parent) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listDeploymentGroupRevisionsPagedCallable() + *

  • listDeploymentGroupRevisionsCallable() + *

+ * + * + * *

ListLocations - *

Lists information about the supported locations for this service. + *

Lists information about the supported locations for this service. + *

This method lists locations based on the resource scope provided inthe [ListLocationsRequest.name] field: + *

* **Global locations**: If `name` is empty, the method lists thepublic locations available to all projects. * **Project-specificlocations**: If `name` follows the format`projects/{project}`, the method lists locations visible to thatspecific project. This includes public, private, or otherproject-specific locations enabled for the project. + *

For gRPC and client library implementations, the resource name ispassed as the `name` field. For direct service calls, the resourcename isincorporated into the request path based on the specific serviceimplementation and version. * *

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

*
    @@ -4669,7 +4857,7 @@ public final AutoMigrationConfig getAutoMigrationConfig(GetAutoMigrationConfigRe // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service. + * Get a DeploymentGroup for a given project and location. * *

    Sample code: * @@ -4680,29 +4868,27 @@ public final AutoMigrationConfig getAutoMigrationConfig(GetAutoMigrationConfigRe * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * ListLocationsRequest request = - * ListLocationsRequest.newBuilder() - * .setName("name3373707") - * .setFilter("filter-1274492040") - * .setPageSize(883849137) - * .setPageToken("pageToken873572522") - * .build(); - * for (Location element : configClient.listLocations(request).iterateAll()) { - * // doThingsWith(element); - * } + * DeploymentGroupName name = + * DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + * DeploymentGroup response = configClient.getDeploymentGroup(name); * } * } * - * @param request The request object containing all of the parameters for the API call. + * @param name Required. The name of the deployment group to retrieve. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) { - return listLocationsPagedCallable().call(request); + public final DeploymentGroup getDeploymentGroup(DeploymentGroupName name) { + GetDeploymentGroupRequest request = + GetDeploymentGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getDeploymentGroup(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service. + * Get a DeploymentGroup for a given project and location. * *

    Sample code: * @@ -4713,29 +4899,25 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * ListLocationsRequest request = - * ListLocationsRequest.newBuilder() - * .setName("name3373707") - * .setFilter("filter-1274492040") - * .setPageSize(883849137) - * .setPageToken("pageToken873572522") - * .build(); - * ApiFuture future = configClient.listLocationsPagedCallable().futureCall(request); - * // Do something. - * for (Location element : future.get().iterateAll()) { - * // doThingsWith(element); - * } + * String name = + * DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + * DeploymentGroup response = configClient.getDeploymentGroup(name); * } * } + * + * @param name Required. The name of the deployment group to retrieve. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final UnaryCallable - listLocationsPagedCallable() { - return stub.listLocationsPagedCallable(); + public final DeploymentGroup getDeploymentGroup(String name) { + GetDeploymentGroupRequest request = + GetDeploymentGroupRequest.newBuilder().setName(name).build(); + return getDeploymentGroup(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Lists information about the supported locations for this service. + * Get a DeploymentGroup for a given project and location. * *

    Sample code: * @@ -4746,35 +4928,26 @@ public final ListLocationsPagedResponse listLocations(ListLocationsRequest reque * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * ListLocationsRequest request = - * ListLocationsRequest.newBuilder() - * .setName("name3373707") - * .setFilter("filter-1274492040") - * .setPageSize(883849137) - * .setPageToken("pageToken873572522") + * GetDeploymentGroupRequest request = + * GetDeploymentGroupRequest.newBuilder() + * .setName( + * DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + * .toString()) * .build(); - * while (true) { - * ListLocationsResponse response = configClient.listLocationsCallable().call(request); - * for (Location element : response.getLocationsList()) { - * // doThingsWith(element); - * } - * String nextPageToken = response.getNextPageToken(); - * if (!Strings.isNullOrEmpty(nextPageToken)) { - * request = request.toBuilder().setPageToken(nextPageToken).build(); - * } else { - * break; - * } - * } + * DeploymentGroup response = configClient.getDeploymentGroup(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 UnaryCallable listLocationsCallable() { - return stub.listLocationsCallable(); + public final DeploymentGroup getDeploymentGroup(GetDeploymentGroupRequest request) { + return getDeploymentGroupCallable().call(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets information about a location. + * Get a DeploymentGroup for a given project and location. * *

    Sample code: * @@ -4785,21 +4958,28 @@ public final UnaryCallable listLoca * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); - * Location response = configClient.getLocation(request); + * GetDeploymentGroupRequest request = + * GetDeploymentGroupRequest.newBuilder() + * .setName( + * DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + * .toString()) + * .build(); + * ApiFuture future = + * configClient.getDeploymentGroupCallable().futureCall(request); + * // Do something. + * DeploymentGroup response = future.get(); * } * } - * - * @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 Location getLocation(GetLocationRequest request) { - return getLocationCallable().call(request); + public final UnaryCallable + getDeploymentGroupCallable() { + return stub.getDeploymentGroupCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets information about a location. + * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created + * DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. * *

    Sample code: * @@ -4810,22 +4990,35 @@ public final Location getLocation(GetLocationRequest request) { * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); - * ApiFuture future = configClient.getLocationCallable().futureCall(request); - * // Do something. - * Location response = future.get(); + * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + * DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build(); + * String deploymentGroupId = "deploymentGroupId717062517"; + * DeploymentGroup response = + * configClient.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get(); * } * } + * + * @param parent Required. The parent in whose context the Deployment Group is created. The parent + * value is in the format: 'projects/{project_id}/locations/{location}' + * @param deploymentGroup Required. [Deployment Group][] resource to create + * @param deploymentGroupId Required. The deployment group ID. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final UnaryCallable getLocationCallable() { - return stub.getLocationCallable(); + public final OperationFuture createDeploymentGroupAsync( + LocationName parent, DeploymentGroup deploymentGroup, String deploymentGroupId) { + CreateDeploymentGroupRequest request = + CreateDeploymentGroupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setDeploymentGroup(deploymentGroup) + .setDeploymentGroupId(deploymentGroupId) + .build(); + return createDeploymentGroupAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on the specified resource. Replacesany existing policy. - * - *

    Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created + * DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. * *

    Sample code: * @@ -4836,28 +5029,35 @@ public final UnaryCallable getLocationCallable() { * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * SetIamPolicyRequest request = - * SetIamPolicyRequest.newBuilder() - * .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString()) - * .setPolicy(Policy.newBuilder().build()) - * .setUpdateMask(FieldMask.newBuilder().build()) - * .build(); - * Policy response = configClient.setIamPolicy(request); + * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + * DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build(); + * String deploymentGroupId = "deploymentGroupId717062517"; + * DeploymentGroup response = + * configClient.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get(); * } * } * - * @param request The request object containing all of the parameters for the API call. + * @param parent Required. The parent in whose context the Deployment Group is created. The parent + * value is in the format: 'projects/{project_id}/locations/{location}' + * @param deploymentGroup Required. [Deployment Group][] resource to create + * @param deploymentGroupId Required. The deployment group ID. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ - public final Policy setIamPolicy(SetIamPolicyRequest request) { - return setIamPolicyCallable().call(request); + public final OperationFuture createDeploymentGroupAsync( + String parent, DeploymentGroup deploymentGroup, String deploymentGroupId) { + CreateDeploymentGroupRequest request = + CreateDeploymentGroupRequest.newBuilder() + .setParent(parent) + .setDeploymentGroup(deploymentGroup) + .setDeploymentGroupId(deploymentGroupId) + .build(); + return createDeploymentGroupAsync(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Sets the access control policy on the specified resource. Replacesany existing policy. - * - *

    Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created + * DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. * *

    Sample code: * @@ -4868,26 +5068,29 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * SetIamPolicyRequest request = - * SetIamPolicyRequest.newBuilder() - * .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString()) - * .setPolicy(Policy.newBuilder().build()) - * .setUpdateMask(FieldMask.newBuilder().build()) + * CreateDeploymentGroupRequest request = + * CreateDeploymentGroupRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setDeploymentGroupId("deploymentGroupId717062517") + * .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + * .setRequestId("requestId693933066") * .build(); - * ApiFuture future = configClient.setIamPolicyCallable().futureCall(request); - * // Do something. - * Policy response = future.get(); + * DeploymentGroup response = configClient.createDeploymentGroupAsync(request).get(); * } * } + * + * @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 UnaryCallable setIamPolicyCallable() { - return stub.setIamPolicyCallable(); + public final OperationFuture createDeploymentGroupAsync( + CreateDeploymentGroupRequest request) { + return createDeploymentGroupOperationCallable().futureCall(request); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. Returns an empty policyif the resource exists - * and does not have a policy set. + * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created + * DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. * *

    Sample code: * @@ -4898,26 +5101,29 @@ public final UnaryCallable setIamPolicyCallable() { * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * GetIamPolicyRequest request = - * GetIamPolicyRequest.newBuilder() - * .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString()) - * .setOptions(GetPolicyOptions.newBuilder().build()) + * CreateDeploymentGroupRequest request = + * CreateDeploymentGroupRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setDeploymentGroupId("deploymentGroupId717062517") + * .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + * .setRequestId("requestId693933066") * .build(); - * Policy response = configClient.getIamPolicy(request); + * OperationFuture future = + * configClient.createDeploymentGroupOperationCallable().futureCall(request); + * // Do something. + * DeploymentGroup response = future.get(); * } * } - * - * @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 Policy getIamPolicy(GetIamPolicyRequest request) { - return getIamPolicyCallable().call(request); + public final OperationCallable + createDeploymentGroupOperationCallable() { + return stub.createDeploymentGroupOperationCallable(); } // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the access control policy for a resource. Returns an empty policyif the resource exists - * and does not have a policy set. + * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] The newly created + * DeploymentGroup will be in the `CREATING` state and can be retrieved via Get and List calls. * *

    Sample code: * @@ -4928,9 +5134,1541 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * // - 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 (ConfigClient configClient = ConfigClient.create()) { - * GetIamPolicyRequest request = - * GetIamPolicyRequest.newBuilder() - * .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString()) + * CreateDeploymentGroupRequest request = + * CreateDeploymentGroupRequest.newBuilder() + * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + * .setDeploymentGroupId("deploymentGroupId717062517") + * .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + * .setRequestId("requestId693933066") + * .build(); + * ApiFuture future = + * configClient.createDeploymentGroupCallable().futureCall(request); + * // Do something. + * Operation response = future.get(); + * } + * } + */ + public final UnaryCallable + createDeploymentGroupCallable() { + return stub.createDeploymentGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +   *   FieldMask updateMask = FieldMask.newBuilder().build();
    +   *   DeploymentGroup response =
    +   *       configClient.updateDeploymentGroupAsync(deploymentGroup, updateMask).get();
    +   * }
    +   * }
    + * + * @param deploymentGroup Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to + * update. + *

    The deployment group's `name` field is used to identify the resource to be updated. + * Format: `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}` + * @param updateMask Optional. Field mask used to specify the fields to be overwritten in the + * Deployment Group resource by the update. + *

    The fields specified in the update_mask are relative to the resource, not the full + * request. A field will be overwritten if it is in the mask. If the user does not provide a + * mask then all fields will be overwritten. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateDeploymentGroupAsync( + DeploymentGroup deploymentGroup, FieldMask updateMask) { + UpdateDeploymentGroupRequest request = + UpdateDeploymentGroupRequest.newBuilder() + .setDeploymentGroup(deploymentGroup) + .setUpdateMask(updateMask) + .build(); + return updateDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   UpdateDeploymentGroupRequest request =
    +   *       UpdateDeploymentGroupRequest.newBuilder()
    +   *           .setUpdateMask(FieldMask.newBuilder().build())
    +   *           .setDeploymentGroup(DeploymentGroup.newBuilder().build())
    +   *           .setRequestId("requestId693933066")
    +   *           .build();
    +   *   DeploymentGroup response = configClient.updateDeploymentGroupAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture updateDeploymentGroupAsync( + UpdateDeploymentGroupRequest request) { + return updateDeploymentGroupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   UpdateDeploymentGroupRequest request =
    +   *       UpdateDeploymentGroupRequest.newBuilder()
    +   *           .setUpdateMask(FieldMask.newBuilder().build())
    +   *           .setDeploymentGroup(DeploymentGroup.newBuilder().build())
    +   *           .setRequestId("requestId693933066")
    +   *           .build();
    +   *   OperationFuture future =
    +   *       configClient.updateDeploymentGroupOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   DeploymentGroup response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + updateDeploymentGroupOperationCallable() { + return stub.updateDeploymentGroupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   UpdateDeploymentGroupRequest request =
    +   *       UpdateDeploymentGroupRequest.newBuilder()
    +   *           .setUpdateMask(FieldMask.newBuilder().build())
    +   *           .setDeploymentGroup(DeploymentGroup.newBuilder().build())
    +   *           .setRequestId("requestId693933066")
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.updateDeploymentGroupCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable + updateDeploymentGroupCallable() { + return stub.updateDeploymentGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroupName name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +   *   DeploymentGroup response = configClient.deleteDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of DeploymentGroup in the format + * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteDeploymentGroupAsync( + DeploymentGroupName name) { + DeleteDeploymentGroupRequest request = + DeleteDeploymentGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return deleteDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString();
    +   *   DeploymentGroup response = configClient.deleteDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of DeploymentGroup in the format + * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteDeploymentGroupAsync( + String name) { + DeleteDeploymentGroupRequest request = + DeleteDeploymentGroupRequest.newBuilder().setName(name).build(); + return deleteDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeleteDeploymentGroupRequest request =
    +   *       DeleteDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setRequestId("requestId693933066")
    +   *           .setForce(true)
    +   *           .build();
    +   *   DeploymentGroup response = configClient.deleteDeploymentGroupAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture deleteDeploymentGroupAsync( + DeleteDeploymentGroupRequest request) { + return deleteDeploymentGroupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeleteDeploymentGroupRequest request =
    +   *       DeleteDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setRequestId("requestId693933066")
    +   *           .setForce(true)
    +   *           .build();
    +   *   OperationFuture future =
    +   *       configClient.deleteDeploymentGroupOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   DeploymentGroup response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable + deleteDeploymentGroupOperationCallable() { + return stub.deleteDeploymentGroupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeleteDeploymentGroupRequest request =
    +   *       DeleteDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setRequestId("requestId693933066")
    +   *           .setForce(true)
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.deleteDeploymentGroupCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable + deleteDeploymentGroupCallable() { + return stub.deleteDeploymentGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List DeploymentGroups for a given project and location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +   *   for (DeploymentGroup element : configClient.listDeploymentGroups(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent Required. The parent, which owns this collection of deployment groups. Format: + * 'projects/{project_id}/locations/{location}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDeploymentGroupsPagedResponse listDeploymentGroups(LocationName parent) { + ListDeploymentGroupsRequest request = + ListDeploymentGroupsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listDeploymentGroups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List DeploymentGroups for a given project and location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    +   *   for (DeploymentGroup element : configClient.listDeploymentGroups(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent Required. The parent, which owns this collection of deployment groups. Format: + * 'projects/{project_id}/locations/{location}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDeploymentGroupsPagedResponse listDeploymentGroups(String parent) { + ListDeploymentGroupsRequest request = + ListDeploymentGroupsRequest.newBuilder().setParent(parent).build(); + return listDeploymentGroups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List DeploymentGroups for a given project and location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupsRequest request =
    +   *       ListDeploymentGroupsRequest.newBuilder()
    +   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setFilter("filter-1274492040")
    +   *           .setOrderBy("orderBy-1207110587")
    +   *           .build();
    +   *   for (DeploymentGroup element : configClient.listDeploymentGroups(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 ListDeploymentGroupsPagedResponse listDeploymentGroups( + ListDeploymentGroupsRequest request) { + return listDeploymentGroupsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List DeploymentGroups for a given project and location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupsRequest request =
    +   *       ListDeploymentGroupsRequest.newBuilder()
    +   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setFilter("filter-1274492040")
    +   *           .setOrderBy("orderBy-1207110587")
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.listDeploymentGroupsPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (DeploymentGroup element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listDeploymentGroupsPagedCallable() { + return stub.listDeploymentGroupsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List DeploymentGroups for a given project and location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupsRequest request =
    +   *       ListDeploymentGroupsRequest.newBuilder()
    +   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .setFilter("filter-1274492040")
    +   *           .setOrderBy("orderBy-1207110587")
    +   *           .build();
    +   *   while (true) {
    +   *     ListDeploymentGroupsResponse response =
    +   *         configClient.listDeploymentGroupsCallable().call(request);
    +   *     for (DeploymentGroup element : response.getDeploymentGroupsList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listDeploymentGroupsCallable() { + return stub.listDeploymentGroupsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Provisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroupName name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +   *   DeploymentGroup response = configClient.provisionDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group to provision. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture provisionDeploymentGroupAsync( + DeploymentGroupName name) { + ProvisionDeploymentGroupRequest request = + ProvisionDeploymentGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return provisionDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Provisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString();
    +   *   DeploymentGroup response = configClient.provisionDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group to provision. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture provisionDeploymentGroupAsync( + String name) { + ProvisionDeploymentGroupRequest request = + ProvisionDeploymentGroupRequest.newBuilder().setName(name).build(); + return provisionDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Provisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ProvisionDeploymentGroupRequest request =
    +   *       ProvisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .putAllDeploymentSpecs(new HashMap())
    +   *           .build();
    +   *   DeploymentGroup response = configClient.provisionDeploymentGroupAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture provisionDeploymentGroupAsync( + ProvisionDeploymentGroupRequest request) { + return provisionDeploymentGroupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Provisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ProvisionDeploymentGroupRequest request =
    +   *       ProvisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .putAllDeploymentSpecs(new HashMap())
    +   *           .build();
    +   *   OperationFuture future =
    +   *       configClient.provisionDeploymentGroupOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   DeploymentGroup response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable< + ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata> + provisionDeploymentGroupOperationCallable() { + return stub.provisionDeploymentGroupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Provisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ProvisionDeploymentGroupRequest request =
    +   *       ProvisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .putAllDeploymentSpecs(new HashMap())
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.provisionDeploymentGroupCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable + provisionDeploymentGroupCallable() { + return stub.provisionDeploymentGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deprovisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroupName name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +   *   DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group to deprovision. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deprovisionDeploymentGroupAsync( + DeploymentGroupName name) { + DeprovisionDeploymentGroupRequest request = + DeprovisionDeploymentGroupRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return deprovisionDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deprovisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String name =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString();
    +   *   DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(name).get();
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group to deprovision. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deprovisionDeploymentGroupAsync( + String name) { + DeprovisionDeploymentGroupRequest request = + DeprovisionDeploymentGroupRequest.newBuilder().setName(name).build(); + return deprovisionDeploymentGroupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deprovisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeprovisionDeploymentGroupRequest request =
    +   *       DeprovisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setForce(true)
    +   *           .build();
    +   *   DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(request).get();
    +   * }
    +   * }
    + * + * @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 OperationFuture deprovisionDeploymentGroupAsync( + DeprovisionDeploymentGroupRequest request) { + return deprovisionDeploymentGroupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deprovisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeprovisionDeploymentGroupRequest request =
    +   *       DeprovisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setForce(true)
    +   *           .build();
    +   *   OperationFuture future =
    +   *       configClient.deprovisionDeploymentGroupOperationCallable().futureCall(request);
    +   *   // Do something.
    +   *   DeploymentGroup response = future.get();
    +   * }
    +   * }
    + */ + public final OperationCallable< + DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata> + deprovisionDeploymentGroupOperationCallable() { + return stub.deprovisionDeploymentGroupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deprovisions a deployment group. + * + *

    NOTE: As a first step of this operation, Infra Manager will automatically delete any + * Deployments that were part of the + * + *

      + *
    • last successful* + * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] but are *no + * longer* included in the *current* + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., following an + * `UpdateDeploymentGroup` call), along with their actuated resources. + *
    + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeprovisionDeploymentGroupRequest request =
    +   *       DeprovisionDeploymentGroupRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setForce(true)
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.deprovisionDeploymentGroupCallable().futureCall(request);
    +   *   // Do something.
    +   *   Operation response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable + deprovisionDeploymentGroupCallable() { + return stub.deprovisionDeploymentGroupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets details about a [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroupRevisionName name =
    +   *       DeploymentGroupRevisionName.of(
    +   *           "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    +   *   DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(name);
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group revision to retrieve. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DeploymentGroupRevision getDeploymentGroupRevision( + DeploymentGroupRevisionName name) { + GetDeploymentGroupRevisionRequest request = + GetDeploymentGroupRevisionRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getDeploymentGroupRevision(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets details about a [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String name =
    +   *       DeploymentGroupRevisionName.of(
    +   *               "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +   *           .toString();
    +   *   DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(name);
    +   * }
    +   * }
    + * + * @param name Required. The name of the deployment group revision to retrieve. Format: + * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final DeploymentGroupRevision getDeploymentGroupRevision(String name) { + GetDeploymentGroupRevisionRequest request = + GetDeploymentGroupRevisionRequest.newBuilder().setName(name).build(); + return getDeploymentGroupRevision(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets details about a [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetDeploymentGroupRevisionRequest request =
    +   *       GetDeploymentGroupRevisionRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupRevisionName.of(
    +   *                       "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +   *                   .toString())
    +   *           .build();
    +   *   DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(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 DeploymentGroupRevision getDeploymentGroupRevision( + GetDeploymentGroupRevisionRequest request) { + return getDeploymentGroupRevisionCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets details about a [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetDeploymentGroupRevisionRequest request =
    +   *       GetDeploymentGroupRevisionRequest.newBuilder()
    +   *           .setName(
    +   *               DeploymentGroupRevisionName.of(
    +   *                       "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +   *                   .toString())
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.getDeploymentGroupRevisionCallable().futureCall(request);
    +   *   // Do something.
    +   *   DeploymentGroupRevision response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable + getDeploymentGroupRevisionCallable() { + return stub.getDeploymentGroupRevisionCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   DeploymentGroupName parent =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +   *   for (DeploymentGroupRevision element :
    +   *       configClient.listDeploymentGroupRevisions(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent Required. The parent, which owns this collection of deployment group revisions. + * Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDeploymentGroupRevisionsPagedResponse listDeploymentGroupRevisions( + DeploymentGroupName parent) { + ListDeploymentGroupRevisionsRequest request = + ListDeploymentGroupRevisionsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listDeploymentGroupRevisions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   String parent =
    +   *       DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString();
    +   *   for (DeploymentGroupRevision element :
    +   *       configClient.listDeploymentGroupRevisions(parent).iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + * + * @param parent Required. The parent, which owns this collection of deployment group revisions. + * Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListDeploymentGroupRevisionsPagedResponse listDeploymentGroupRevisions( + String parent) { + ListDeploymentGroupRevisionsRequest request = + ListDeploymentGroupRevisionsRequest.newBuilder().setParent(parent).build(); + return listDeploymentGroupRevisions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupRevisionsRequest request =
    +   *       ListDeploymentGroupRevisionsRequest.newBuilder()
    +   *           .setParent(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   for (DeploymentGroupRevision element :
    +   *       configClient.listDeploymentGroupRevisions(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 ListDeploymentGroupRevisionsPagedResponse listDeploymentGroupRevisions( + ListDeploymentGroupRevisionsRequest request) { + return listDeploymentGroupRevisionsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupRevisionsRequest request =
    +   *       ListDeploymentGroupRevisionsRequest.newBuilder()
    +   *           .setParent(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   ApiFuture future =
    +   *       configClient.listDeploymentGroupRevisionsPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (DeploymentGroupRevision element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable< + ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse> + listDeploymentGroupRevisionsPagedCallable() { + return stub.listDeploymentGroupRevisionsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s in a given + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListDeploymentGroupRevisionsRequest request =
    +   *       ListDeploymentGroupRevisionsRequest.newBuilder()
    +   *           .setParent(
    +   *               DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +   *                   .toString())
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   while (true) {
    +   *     ListDeploymentGroupRevisionsResponse response =
    +   *         configClient.listDeploymentGroupRevisionsCallable().call(request);
    +   *     for (DeploymentGroupRevision element : response.getDeploymentGroupRevisionsList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable< + ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse> + listDeploymentGroupRevisionsCallable() { + return stub.listDeploymentGroupRevisionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListLocationsRequest request =
    +   *       ListLocationsRequest.newBuilder()
    +   *           .setName("name3373707")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   for (Location element : configClient.listLocations(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 ListLocationsPagedResponse listLocations(ListLocationsRequest request) { + return listLocationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListLocationsRequest request =
    +   *       ListLocationsRequest.newBuilder()
    +   *           .setName("name3373707")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   ApiFuture future = configClient.listLocationsPagedCallable().futureCall(request);
    +   *   // Do something.
    +   *   for (Location element : future.get().iterateAll()) {
    +   *     // doThingsWith(element);
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable + listLocationsPagedCallable() { + return stub.listLocationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

    This method lists locations based on the resource scope provided inthe + * [ListLocationsRequest.name] field: + * + *

    * **Global locations**: If `name` is empty, the method lists thepublic + * locations available to all projects. * **Project-specificlocations**: If + * `name` follows the format`projects/{project}`, the method lists locations visible to + * thatspecific project. This includes public, private, or otherproject-specific locations enabled + * for the project. + * + *

    For gRPC and client library implementations, the resource name ispassed as the `name` field. + * For direct service calls, the resourcename isincorporated into the request path based on the + * specific serviceimplementation and version. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   ListLocationsRequest request =
    +   *       ListLocationsRequest.newBuilder()
    +   *           .setName("name3373707")
    +   *           .setFilter("filter-1274492040")
    +   *           .setPageSize(883849137)
    +   *           .setPageToken("pageToken873572522")
    +   *           .build();
    +   *   while (true) {
    +   *     ListLocationsResponse response = configClient.listLocationsCallable().call(request);
    +   *     for (Location element : response.getLocationsList()) {
    +   *       // doThingsWith(element);
    +   *     }
    +   *     String nextPageToken = response.getNextPageToken();
    +   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
    +   *       request = request.toBuilder().setPageToken(nextPageToken).build();
    +   *     } else {
    +   *       break;
    +   *     }
    +   *   }
    +   * }
    +   * }
    + */ + public final UnaryCallable listLocationsCallable() { + return stub.listLocationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    +   *   Location response = configClient.getLocation(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 Location getLocation(GetLocationRequest request) { + return getLocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
    +   *   ApiFuture future = configClient.getLocationCallable().futureCall(request);
    +   *   // Do something.
    +   *   Location response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable getLocationCallable() { + return stub.getLocationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replacesany existing policy. + * + *

    Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   SetIamPolicyRequest request =
    +   *       SetIamPolicyRequest.newBuilder()
    +   *           .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString())
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setUpdateMask(FieldMask.newBuilder().build())
    +   *           .build();
    +   *   Policy response = configClient.setIamPolicy(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 Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replacesany existing policy. + * + *

    Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`errors. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   SetIamPolicyRequest request =
    +   *       SetIamPolicyRequest.newBuilder()
    +   *           .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString())
    +   *           .setPolicy(Policy.newBuilder().build())
    +   *           .setUpdateMask(FieldMask.newBuilder().build())
    +   *           .build();
    +   *   ApiFuture future = configClient.setIamPolicyCallable().futureCall(request);
    +   *   // Do something.
    +   *   Policy response = future.get();
    +   * }
    +   * }
    + */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. Returns an empty policyif the resource exists + * and does not have a policy set. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetIamPolicyRequest request =
    +   *       GetIamPolicyRequest.newBuilder()
    +   *           .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString())
    +   *           .setOptions(GetPolicyOptions.newBuilder().build())
    +   *           .build();
    +   *   Policy response = configClient.getIamPolicy(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 Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for a resource. Returns an empty policyif the resource exists + * and does not have a policy set. + * + *

    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 (ConfigClient configClient = ConfigClient.create()) {
    +   *   GetIamPolicyRequest request =
    +   *       GetIamPolicyRequest.newBuilder()
    +   *           .setResource(DeploymentName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT]").toString())
        *           .setOptions(GetPolicyOptions.newBuilder().build())
        *           .build();
        *   ApiFuture future = configClient.getIamPolicyCallable().futureCall(request);
    @@ -5594,6 +7332,187 @@ protected ListResourceDriftsFixedSizeCollection createCollection(
         }
       }
     
    +  public static class ListDeploymentGroupsPagedResponse
    +      extends AbstractPagedListResponse<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          DeploymentGroup,
    +          ListDeploymentGroupsPage,
    +          ListDeploymentGroupsFixedSizeCollection> {
    +
    +    public static ApiFuture createAsync(
    +        PageContext
    +            context,
    +        ApiFuture futureResponse) {
    +      ApiFuture futurePage =
    +          ListDeploymentGroupsPage.createEmptyPage().createPageAsync(context, futureResponse);
    +      return ApiFutures.transform(
    +          futurePage,
    +          input -> new ListDeploymentGroupsPagedResponse(input),
    +          MoreExecutors.directExecutor());
    +    }
    +
    +    private ListDeploymentGroupsPagedResponse(ListDeploymentGroupsPage page) {
    +      super(page, ListDeploymentGroupsFixedSizeCollection.createEmptyCollection());
    +    }
    +  }
    +
    +  public static class ListDeploymentGroupsPage
    +      extends AbstractPage<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          DeploymentGroup,
    +          ListDeploymentGroupsPage> {
    +
    +    private ListDeploymentGroupsPage(
    +        PageContext
    +            context,
    +        ListDeploymentGroupsResponse response) {
    +      super(context, response);
    +    }
    +
    +    private static ListDeploymentGroupsPage createEmptyPage() {
    +      return new ListDeploymentGroupsPage(null, null);
    +    }
    +
    +    @Override
    +    protected ListDeploymentGroupsPage createPage(
    +        PageContext
    +            context,
    +        ListDeploymentGroupsResponse response) {
    +      return new ListDeploymentGroupsPage(context, response);
    +    }
    +
    +    @Override
    +    public ApiFuture createPageAsync(
    +        PageContext
    +            context,
    +        ApiFuture futureResponse) {
    +      return super.createPageAsync(context, futureResponse);
    +    }
    +  }
    +
    +  public static class ListDeploymentGroupsFixedSizeCollection
    +      extends AbstractFixedSizeCollection<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          DeploymentGroup,
    +          ListDeploymentGroupsPage,
    +          ListDeploymentGroupsFixedSizeCollection> {
    +
    +    private ListDeploymentGroupsFixedSizeCollection(
    +        List pages, int collectionSize) {
    +      super(pages, collectionSize);
    +    }
    +
    +    private static ListDeploymentGroupsFixedSizeCollection createEmptyCollection() {
    +      return new ListDeploymentGroupsFixedSizeCollection(null, 0);
    +    }
    +
    +    @Override
    +    protected ListDeploymentGroupsFixedSizeCollection createCollection(
    +        List pages, int collectionSize) {
    +      return new ListDeploymentGroupsFixedSizeCollection(pages, collectionSize);
    +    }
    +  }
    +
    +  public static class ListDeploymentGroupRevisionsPagedResponse
    +      extends AbstractPagedListResponse<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          DeploymentGroupRevision,
    +          ListDeploymentGroupRevisionsPage,
    +          ListDeploymentGroupRevisionsFixedSizeCollection> {
    +
    +    public static ApiFuture createAsync(
    +        PageContext<
    +                ListDeploymentGroupRevisionsRequest,
    +                ListDeploymentGroupRevisionsResponse,
    +                DeploymentGroupRevision>
    +            context,
    +        ApiFuture futureResponse) {
    +      ApiFuture futurePage =
    +          ListDeploymentGroupRevisionsPage.createEmptyPage()
    +              .createPageAsync(context, futureResponse);
    +      return ApiFutures.transform(
    +          futurePage,
    +          input -> new ListDeploymentGroupRevisionsPagedResponse(input),
    +          MoreExecutors.directExecutor());
    +    }
    +
    +    private ListDeploymentGroupRevisionsPagedResponse(ListDeploymentGroupRevisionsPage page) {
    +      super(page, ListDeploymentGroupRevisionsFixedSizeCollection.createEmptyCollection());
    +    }
    +  }
    +
    +  public static class ListDeploymentGroupRevisionsPage
    +      extends AbstractPage<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          DeploymentGroupRevision,
    +          ListDeploymentGroupRevisionsPage> {
    +
    +    private ListDeploymentGroupRevisionsPage(
    +        PageContext<
    +                ListDeploymentGroupRevisionsRequest,
    +                ListDeploymentGroupRevisionsResponse,
    +                DeploymentGroupRevision>
    +            context,
    +        ListDeploymentGroupRevisionsResponse response) {
    +      super(context, response);
    +    }
    +
    +    private static ListDeploymentGroupRevisionsPage createEmptyPage() {
    +      return new ListDeploymentGroupRevisionsPage(null, null);
    +    }
    +
    +    @Override
    +    protected ListDeploymentGroupRevisionsPage createPage(
    +        PageContext<
    +                ListDeploymentGroupRevisionsRequest,
    +                ListDeploymentGroupRevisionsResponse,
    +                DeploymentGroupRevision>
    +            context,
    +        ListDeploymentGroupRevisionsResponse response) {
    +      return new ListDeploymentGroupRevisionsPage(context, response);
    +    }
    +
    +    @Override
    +    public ApiFuture createPageAsync(
    +        PageContext<
    +                ListDeploymentGroupRevisionsRequest,
    +                ListDeploymentGroupRevisionsResponse,
    +                DeploymentGroupRevision>
    +            context,
    +        ApiFuture futureResponse) {
    +      return super.createPageAsync(context, futureResponse);
    +    }
    +  }
    +
    +  public static class ListDeploymentGroupRevisionsFixedSizeCollection
    +      extends AbstractFixedSizeCollection<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          DeploymentGroupRevision,
    +          ListDeploymentGroupRevisionsPage,
    +          ListDeploymentGroupRevisionsFixedSizeCollection> {
    +
    +    private ListDeploymentGroupRevisionsFixedSizeCollection(
    +        List pages, int collectionSize) {
    +      super(pages, collectionSize);
    +    }
    +
    +    private static ListDeploymentGroupRevisionsFixedSizeCollection createEmptyCollection() {
    +      return new ListDeploymentGroupRevisionsFixedSizeCollection(null, 0);
    +    }
    +
    +    @Override
    +    protected ListDeploymentGroupRevisionsFixedSizeCollection createCollection(
    +        List pages, int collectionSize) {
    +      return new ListDeploymentGroupRevisionsFixedSizeCollection(pages, collectionSize);
    +    }
    +  }
    +
       public static class ListLocationsPagedResponse
           extends AbstractPagedListResponse<
               ListLocationsRequest,
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java
    index 6e42b716580f..d785aa9410b6 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -344,6 +346,97 @@ public UnaryCallSettings getResourceDrif
         return ((ConfigStubSettings) getStubSettings()).updateAutoMigrationConfigOperationSettings();
       }
     
    +  /** Returns the object with the settings used for calls to getDeploymentGroup. */
    +  public UnaryCallSettings
    +      getDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).getDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to createDeploymentGroup. */
    +  public UnaryCallSettings
    +      createDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).createDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to createDeploymentGroup. */
    +  public OperationCallSettings
    +      createDeploymentGroupOperationSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).createDeploymentGroupOperationSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to updateDeploymentGroup. */
    +  public UnaryCallSettings
    +      updateDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).updateDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to updateDeploymentGroup. */
    +  public OperationCallSettings
    +      updateDeploymentGroupOperationSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).updateDeploymentGroupOperationSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to deleteDeploymentGroup. */
    +  public UnaryCallSettings
    +      deleteDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).deleteDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to deleteDeploymentGroup. */
    +  public OperationCallSettings
    +      deleteDeploymentGroupOperationSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).deleteDeploymentGroupOperationSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to listDeploymentGroups. */
    +  public PagedCallSettings<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          ListDeploymentGroupsPagedResponse>
    +      listDeploymentGroupsSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).listDeploymentGroupsSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to provisionDeploymentGroup. */
    +  public UnaryCallSettings
    +      provisionDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).provisionDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to provisionDeploymentGroup. */
    +  public OperationCallSettings
    +      provisionDeploymentGroupOperationSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).provisionDeploymentGroupOperationSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to deprovisionDeploymentGroup. */
    +  public UnaryCallSettings
    +      deprovisionDeploymentGroupSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).deprovisionDeploymentGroupSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to deprovisionDeploymentGroup. */
    +  public OperationCallSettings<
    +          DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deprovisionDeploymentGroupOperationSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).deprovisionDeploymentGroupOperationSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to getDeploymentGroupRevision. */
    +  public UnaryCallSettings
    +      getDeploymentGroupRevisionSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).getDeploymentGroupRevisionSettings();
    +  }
    +
    +  /** Returns the object with the settings used for calls to listDeploymentGroupRevisions. */
    +  public PagedCallSettings<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsSettings() {
    +    return ((ConfigStubSettings) getStubSettings()).listDeploymentGroupRevisionsSettings();
    +  }
    +
       /** Returns the object with the settings used for calls to listLocations. */
       public PagedCallSettings
           listLocationsSettings() {
    @@ -706,6 +799,101 @@ public UnaryCallSettings.Builder deletePreviewS
           return getStubSettingsBuilder().updateAutoMigrationConfigOperationSettings();
         }
     
    +    /** Returns the builder for the settings used for calls to getDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        getDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().getDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to createDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        createDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().createDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to createDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            CreateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        createDeploymentGroupOperationSettings() {
    +      return getStubSettingsBuilder().createDeploymentGroupOperationSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to updateDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        updateDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().updateDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to updateDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            UpdateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        updateDeploymentGroupOperationSettings() {
    +      return getStubSettingsBuilder().updateDeploymentGroupOperationSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deleteDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        deleteDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().deleteDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deleteDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            DeleteDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deleteDeploymentGroupOperationSettings() {
    +      return getStubSettingsBuilder().deleteDeploymentGroupOperationSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to listDeploymentGroups. */
    +    public PagedCallSettings.Builder<
    +            ListDeploymentGroupsRequest,
    +            ListDeploymentGroupsResponse,
    +            ListDeploymentGroupsPagedResponse>
    +        listDeploymentGroupsSettings() {
    +      return getStubSettingsBuilder().listDeploymentGroupsSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to provisionDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        provisionDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().provisionDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to provisionDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        provisionDeploymentGroupOperationSettings() {
    +      return getStubSettingsBuilder().provisionDeploymentGroupOperationSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deprovisionDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        deprovisionDeploymentGroupSettings() {
    +      return getStubSettingsBuilder().deprovisionDeploymentGroupSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deprovisionDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deprovisionDeploymentGroupOperationSettings() {
    +      return getStubSettingsBuilder().deprovisionDeploymentGroupOperationSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to getDeploymentGroupRevision. */
    +    public UnaryCallSettings.Builder
    +        getDeploymentGroupRevisionSettings() {
    +      return getStubSettingsBuilder().getDeploymentGroupRevisionSettings();
    +    }
    +
    +    /** Returns the builder for the settings used for calls to listDeploymentGroupRevisions. */
    +    public PagedCallSettings.Builder<
    +            ListDeploymentGroupRevisionsRequest,
    +            ListDeploymentGroupRevisionsResponse,
    +            ListDeploymentGroupRevisionsPagedResponse>
    +        listDeploymentGroupRevisionsSettings() {
    +      return getStubSettingsBuilder().listDeploymentGroupRevisionsSettings();
    +    }
    +
         /** Returns the builder for the settings used for calls to listLocations. */
         public PagedCallSettings.Builder<
                 ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json
    index 6c546f81b5a1..21ba40ef7560 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json
    @@ -13,18 +13,27 @@
                 "CreateDeployment": {
                   "methods": ["createDeploymentAsync", "createDeploymentAsync", "createDeploymentAsync", "createDeploymentOperationCallable", "createDeploymentCallable"]
                 },
    +            "CreateDeploymentGroup": {
    +              "methods": ["createDeploymentGroupAsync", "createDeploymentGroupAsync", "createDeploymentGroupAsync", "createDeploymentGroupOperationCallable", "createDeploymentGroupCallable"]
    +            },
                 "CreatePreview": {
                   "methods": ["createPreviewAsync", "createPreviewAsync", "createPreviewAsync", "createPreviewOperationCallable", "createPreviewCallable"]
                 },
                 "DeleteDeployment": {
                   "methods": ["deleteDeploymentAsync", "deleteDeploymentAsync", "deleteDeploymentAsync", "deleteDeploymentOperationCallable", "deleteDeploymentCallable"]
                 },
    +            "DeleteDeploymentGroup": {
    +              "methods": ["deleteDeploymentGroupAsync", "deleteDeploymentGroupAsync", "deleteDeploymentGroupAsync", "deleteDeploymentGroupOperationCallable", "deleteDeploymentGroupCallable"]
    +            },
                 "DeletePreview": {
                   "methods": ["deletePreviewAsync", "deletePreviewAsync", "deletePreviewAsync", "deletePreviewOperationCallable", "deletePreviewCallable"]
                 },
                 "DeleteStatefile": {
                   "methods": ["deleteStatefile", "deleteStatefile", "deleteStatefile", "deleteStatefileCallable"]
                 },
    +            "DeprovisionDeploymentGroup": {
    +              "methods": ["deprovisionDeploymentGroupAsync", "deprovisionDeploymentGroupAsync", "deprovisionDeploymentGroupAsync", "deprovisionDeploymentGroupOperationCallable", "deprovisionDeploymentGroupCallable"]
    +            },
                 "ExportDeploymentStatefile": {
                   "methods": ["exportDeploymentStatefile", "exportDeploymentStatefileCallable"]
                 },
    @@ -43,6 +52,12 @@
                 "GetDeployment": {
                   "methods": ["getDeployment", "getDeployment", "getDeployment", "getDeploymentCallable"]
                 },
    +            "GetDeploymentGroup": {
    +              "methods": ["getDeploymentGroup", "getDeploymentGroup", "getDeploymentGroup", "getDeploymentGroupCallable"]
    +            },
    +            "GetDeploymentGroupRevision": {
    +              "methods": ["getDeploymentGroupRevision", "getDeploymentGroupRevision", "getDeploymentGroupRevision", "getDeploymentGroupRevisionCallable"]
    +            },
                 "GetIamPolicy": {
                   "methods": ["getIamPolicy", "getIamPolicyCallable"]
                 },
    @@ -70,6 +85,12 @@
                 "ImportStatefile": {
                   "methods": ["importStatefile", "importStatefile", "importStatefile", "importStatefileCallable"]
                 },
    +            "ListDeploymentGroupRevisions": {
    +              "methods": ["listDeploymentGroupRevisions", "listDeploymentGroupRevisions", "listDeploymentGroupRevisions", "listDeploymentGroupRevisionsPagedCallable", "listDeploymentGroupRevisionsCallable"]
    +            },
    +            "ListDeploymentGroups": {
    +              "methods": ["listDeploymentGroups", "listDeploymentGroups", "listDeploymentGroups", "listDeploymentGroupsPagedCallable", "listDeploymentGroupsCallable"]
    +            },
                 "ListDeployments": {
                   "methods": ["listDeployments", "listDeployments", "listDeployments", "listDeploymentsPagedCallable", "listDeploymentsCallable"]
                 },
    @@ -97,6 +118,9 @@
                 "LockDeployment": {
                   "methods": ["lockDeploymentAsync", "lockDeploymentAsync", "lockDeploymentAsync", "lockDeploymentOperationCallable", "lockDeploymentCallable"]
                 },
    +            "ProvisionDeploymentGroup": {
    +              "methods": ["provisionDeploymentGroupAsync", "provisionDeploymentGroupAsync", "provisionDeploymentGroupAsync", "provisionDeploymentGroupOperationCallable", "provisionDeploymentGroupCallable"]
    +            },
                 "SetIamPolicy": {
                   "methods": ["setIamPolicy", "setIamPolicyCallable"]
                 },
    @@ -111,6 +135,9 @@
                 },
                 "UpdateDeployment": {
                   "methods": ["updateDeploymentAsync", "updateDeploymentAsync", "updateDeploymentOperationCallable", "updateDeploymentCallable"]
    +            },
    +            "UpdateDeploymentGroup": {
    +              "methods": ["updateDeploymentGroupAsync", "updateDeploymentGroupAsync", "updateDeploymentGroupOperationCallable", "updateDeploymentGroupCallable"]
                 }
               }
             }
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java
    index 1dac8c7b2e3c..ebb3b208f579 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1.stub;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -29,18 +31,25 @@
     import com.google.api.gax.rpc.OperationCallable;
     import com.google.api.gax.rpc.UnaryCallable;
     import com.google.cloud.config.v1.AutoMigrationConfig;
    +import com.google.cloud.config.v1.CreateDeploymentGroupRequest;
     import com.google.cloud.config.v1.CreateDeploymentRequest;
     import com.google.cloud.config.v1.CreatePreviewRequest;
    +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest;
     import com.google.cloud.config.v1.DeleteDeploymentRequest;
     import com.google.cloud.config.v1.DeletePreviewRequest;
     import com.google.cloud.config.v1.DeleteStatefileRequest;
     import com.google.cloud.config.v1.Deployment;
    +import com.google.cloud.config.v1.DeploymentGroup;
    +import com.google.cloud.config.v1.DeploymentGroupRevision;
    +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.ExportDeploymentStatefileRequest;
     import com.google.cloud.config.v1.ExportLockInfoRequest;
     import com.google.cloud.config.v1.ExportPreviewResultRequest;
     import com.google.cloud.config.v1.ExportPreviewResultResponse;
     import com.google.cloud.config.v1.ExportRevisionStatefileRequest;
     import com.google.cloud.config.v1.GetAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest;
     import com.google.cloud.config.v1.GetDeploymentRequest;
     import com.google.cloud.config.v1.GetPreviewRequest;
     import com.google.cloud.config.v1.GetResourceChangeRequest;
    @@ -49,6 +58,10 @@
     import com.google.cloud.config.v1.GetRevisionRequest;
     import com.google.cloud.config.v1.GetTerraformVersionRequest;
     import com.google.cloud.config.v1.ImportStatefileRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse;
    +import com.google.cloud.config.v1.ListDeploymentGroupsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupsResponse;
     import com.google.cloud.config.v1.ListDeploymentsRequest;
     import com.google.cloud.config.v1.ListDeploymentsResponse;
     import com.google.cloud.config.v1.ListPreviewsRequest;
    @@ -67,6 +80,7 @@
     import com.google.cloud.config.v1.LockInfo;
     import com.google.cloud.config.v1.OperationMetadata;
     import com.google.cloud.config.v1.Preview;
    +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.Resource;
     import com.google.cloud.config.v1.ResourceChange;
     import com.google.cloud.config.v1.ResourceDrift;
    @@ -75,6 +89,7 @@
     import com.google.cloud.config.v1.TerraformVersion;
     import com.google.cloud.config.v1.UnlockDeploymentRequest;
     import com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest;
     import com.google.cloud.config.v1.UpdateDeploymentRequest;
     import com.google.cloud.location.GetLocationRequest;
     import com.google.cloud.location.ListLocationsRequest;
    @@ -307,6 +322,92 @@ public UnaryCallable getResourceDriftCal
         throw new UnsupportedOperationException("Not implemented: updateAutoMigrationConfigCallable()");
       }
     
    +  public UnaryCallable getDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException("Not implemented: getDeploymentGroupCallable()");
    +  }
    +
    +  public OperationCallable
    +      createDeploymentGroupOperationCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: createDeploymentGroupOperationCallable()");
    +  }
    +
    +  public UnaryCallable createDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException("Not implemented: createDeploymentGroupCallable()");
    +  }
    +
    +  public OperationCallable
    +      updateDeploymentGroupOperationCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: updateDeploymentGroupOperationCallable()");
    +  }
    +
    +  public UnaryCallable updateDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException("Not implemented: updateDeploymentGroupCallable()");
    +  }
    +
    +  public OperationCallable
    +      deleteDeploymentGroupOperationCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: deleteDeploymentGroupOperationCallable()");
    +  }
    +
    +  public UnaryCallable deleteDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException("Not implemented: deleteDeploymentGroupCallable()");
    +  }
    +
    +  public UnaryCallable
    +      listDeploymentGroupsPagedCallable() {
    +    throw new UnsupportedOperationException("Not implemented: listDeploymentGroupsPagedCallable()");
    +  }
    +
    +  public UnaryCallable
    +      listDeploymentGroupsCallable() {
    +    throw new UnsupportedOperationException("Not implemented: listDeploymentGroupsCallable()");
    +  }
    +
    +  public OperationCallable
    +      provisionDeploymentGroupOperationCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: provisionDeploymentGroupOperationCallable()");
    +  }
    +
    +  public UnaryCallable
    +      provisionDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException("Not implemented: provisionDeploymentGroupCallable()");
    +  }
    +
    +  public OperationCallable
    +      deprovisionDeploymentGroupOperationCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: deprovisionDeploymentGroupOperationCallable()");
    +  }
    +
    +  public UnaryCallable
    +      deprovisionDeploymentGroupCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: deprovisionDeploymentGroupCallable()");
    +  }
    +
    +  public UnaryCallable
    +      getDeploymentGroupRevisionCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: getDeploymentGroupRevisionCallable()");
    +  }
    +
    +  public UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsPagedCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: listDeploymentGroupRevisionsPagedCallable()");
    +  }
    +
    +  public UnaryCallable
    +      listDeploymentGroupRevisionsCallable() {
    +    throw new UnsupportedOperationException(
    +        "Not implemented: listDeploymentGroupRevisionsCallable()");
    +  }
    +
       public UnaryCallable
           listLocationsPagedCallable() {
         throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java
    index d588246bc158..d567935ab772 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStubSettings.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1.stub;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -57,18 +59,25 @@
     import com.google.api.gax.rpc.UnaryCallSettings;
     import com.google.api.gax.rpc.UnaryCallable;
     import com.google.cloud.config.v1.AutoMigrationConfig;
    +import com.google.cloud.config.v1.CreateDeploymentGroupRequest;
     import com.google.cloud.config.v1.CreateDeploymentRequest;
     import com.google.cloud.config.v1.CreatePreviewRequest;
    +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest;
     import com.google.cloud.config.v1.DeleteDeploymentRequest;
     import com.google.cloud.config.v1.DeletePreviewRequest;
     import com.google.cloud.config.v1.DeleteStatefileRequest;
     import com.google.cloud.config.v1.Deployment;
    +import com.google.cloud.config.v1.DeploymentGroup;
    +import com.google.cloud.config.v1.DeploymentGroupRevision;
    +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.ExportDeploymentStatefileRequest;
     import com.google.cloud.config.v1.ExportLockInfoRequest;
     import com.google.cloud.config.v1.ExportPreviewResultRequest;
     import com.google.cloud.config.v1.ExportPreviewResultResponse;
     import com.google.cloud.config.v1.ExportRevisionStatefileRequest;
     import com.google.cloud.config.v1.GetAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest;
     import com.google.cloud.config.v1.GetDeploymentRequest;
     import com.google.cloud.config.v1.GetPreviewRequest;
     import com.google.cloud.config.v1.GetResourceChangeRequest;
    @@ -77,6 +86,10 @@
     import com.google.cloud.config.v1.GetRevisionRequest;
     import com.google.cloud.config.v1.GetTerraformVersionRequest;
     import com.google.cloud.config.v1.ImportStatefileRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse;
    +import com.google.cloud.config.v1.ListDeploymentGroupsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupsResponse;
     import com.google.cloud.config.v1.ListDeploymentsRequest;
     import com.google.cloud.config.v1.ListDeploymentsResponse;
     import com.google.cloud.config.v1.ListPreviewsRequest;
    @@ -95,6 +108,7 @@
     import com.google.cloud.config.v1.LockInfo;
     import com.google.cloud.config.v1.OperationMetadata;
     import com.google.cloud.config.v1.Preview;
    +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.Resource;
     import com.google.cloud.config.v1.ResourceChange;
     import com.google.cloud.config.v1.ResourceDrift;
    @@ -103,6 +117,7 @@
     import com.google.cloud.config.v1.TerraformVersion;
     import com.google.cloud.config.v1.UnlockDeploymentRequest;
     import com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest;
     import com.google.cloud.config.v1.UpdateDeploymentRequest;
     import com.google.cloud.location.GetLocationRequest;
     import com.google.cloud.location.ListLocationsRequest;
    @@ -274,6 +289,45 @@ public class ConfigStubSettings extends StubSettings {
       private final OperationCallSettings<
               UpdateAutoMigrationConfigRequest, AutoMigrationConfig, OperationMetadata>
           updateAutoMigrationConfigOperationSettings;
    +  private final UnaryCallSettings
    +      getDeploymentGroupSettings;
    +  private final UnaryCallSettings
    +      createDeploymentGroupSettings;
    +  private final OperationCallSettings<
    +          CreateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      createDeploymentGroupOperationSettings;
    +  private final UnaryCallSettings
    +      updateDeploymentGroupSettings;
    +  private final OperationCallSettings<
    +          UpdateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      updateDeploymentGroupOperationSettings;
    +  private final UnaryCallSettings
    +      deleteDeploymentGroupSettings;
    +  private final OperationCallSettings<
    +          DeleteDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deleteDeploymentGroupOperationSettings;
    +  private final PagedCallSettings<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          ListDeploymentGroupsPagedResponse>
    +      listDeploymentGroupsSettings;
    +  private final UnaryCallSettings
    +      provisionDeploymentGroupSettings;
    +  private final OperationCallSettings<
    +          ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      provisionDeploymentGroupOperationSettings;
    +  private final UnaryCallSettings
    +      deprovisionDeploymentGroupSettings;
    +  private final OperationCallSettings<
    +          DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deprovisionDeploymentGroupOperationSettings;
    +  private final UnaryCallSettings
    +      getDeploymentGroupRevisionSettings;
    +  private final PagedCallSettings<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsSettings;
       private final PagedCallSettings<
               ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
           listLocationsSettings;
    @@ -537,6 +591,92 @@ public Iterable extractResources(ListResourceDriftsResponse paylo
                 }
               };
     
    +  private static final PagedListDescriptor<
    +          ListDeploymentGroupsRequest, ListDeploymentGroupsResponse, DeploymentGroup>
    +      LIST_DEPLOYMENT_GROUPS_PAGE_STR_DESC =
    +          new PagedListDescriptor<
    +              ListDeploymentGroupsRequest, ListDeploymentGroupsResponse, DeploymentGroup>() {
    +            @Override
    +            public String emptyToken() {
    +              return "";
    +            }
    +
    +            @Override
    +            public ListDeploymentGroupsRequest injectToken(
    +                ListDeploymentGroupsRequest payload, String token) {
    +              return ListDeploymentGroupsRequest.newBuilder(payload).setPageToken(token).build();
    +            }
    +
    +            @Override
    +            public ListDeploymentGroupsRequest injectPageSize(
    +                ListDeploymentGroupsRequest payload, int pageSize) {
    +              return ListDeploymentGroupsRequest.newBuilder(payload).setPageSize(pageSize).build();
    +            }
    +
    +            @Override
    +            public Integer extractPageSize(ListDeploymentGroupsRequest payload) {
    +              return payload.getPageSize();
    +            }
    +
    +            @Override
    +            public String extractNextToken(ListDeploymentGroupsResponse payload) {
    +              return payload.getNextPageToken();
    +            }
    +
    +            @Override
    +            public Iterable extractResources(
    +                ListDeploymentGroupsResponse payload) {
    +              return payload.getDeploymentGroupsList();
    +            }
    +          };
    +
    +  private static final PagedListDescriptor<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          DeploymentGroupRevision>
    +      LIST_DEPLOYMENT_GROUP_REVISIONS_PAGE_STR_DESC =
    +          new PagedListDescriptor<
    +              ListDeploymentGroupRevisionsRequest,
    +              ListDeploymentGroupRevisionsResponse,
    +              DeploymentGroupRevision>() {
    +            @Override
    +            public String emptyToken() {
    +              return "";
    +            }
    +
    +            @Override
    +            public ListDeploymentGroupRevisionsRequest injectToken(
    +                ListDeploymentGroupRevisionsRequest payload, String token) {
    +              return ListDeploymentGroupRevisionsRequest.newBuilder(payload)
    +                  .setPageToken(token)
    +                  .build();
    +            }
    +
    +            @Override
    +            public ListDeploymentGroupRevisionsRequest injectPageSize(
    +                ListDeploymentGroupRevisionsRequest payload, int pageSize) {
    +              return ListDeploymentGroupRevisionsRequest.newBuilder(payload)
    +                  .setPageSize(pageSize)
    +                  .build();
    +            }
    +
    +            @Override
    +            public Integer extractPageSize(ListDeploymentGroupRevisionsRequest payload) {
    +              return payload.getPageSize();
    +            }
    +
    +            @Override
    +            public String extractNextToken(ListDeploymentGroupRevisionsResponse payload) {
    +              return payload.getNextPageToken();
    +            }
    +
    +            @Override
    +            public Iterable extractResources(
    +                ListDeploymentGroupRevisionsResponse payload) {
    +              return payload.getDeploymentGroupRevisionsList();
    +            }
    +          };
    +
       private static final PagedListDescriptor
           LIST_LOCATIONS_PAGE_STR_DESC =
               new PagedListDescriptor() {
    @@ -705,6 +845,62 @@ public ApiFuture getFuturePagedResponse(
                 }
               };
     
    +  private static final PagedListResponseFactory<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          ListDeploymentGroupsPagedResponse>
    +      LIST_DEPLOYMENT_GROUPS_PAGE_STR_FACT =
    +          new PagedListResponseFactory<
    +              ListDeploymentGroupsRequest,
    +              ListDeploymentGroupsResponse,
    +              ListDeploymentGroupsPagedResponse>() {
    +            @Override
    +            public ApiFuture getFuturePagedResponse(
    +                UnaryCallable callable,
    +                ListDeploymentGroupsRequest request,
    +                ApiCallContext context,
    +                ApiFuture futureResponse) {
    +              PageContext<
    +                      ListDeploymentGroupsRequest, ListDeploymentGroupsResponse, DeploymentGroup>
    +                  pageContext =
    +                      PageContext.create(
    +                          callable, LIST_DEPLOYMENT_GROUPS_PAGE_STR_DESC, request, context);
    +              return ListDeploymentGroupsPagedResponse.createAsync(pageContext, futureResponse);
    +            }
    +          };
    +
    +  private static final PagedListResponseFactory<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          ListDeploymentGroupRevisionsPagedResponse>
    +      LIST_DEPLOYMENT_GROUP_REVISIONS_PAGE_STR_FACT =
    +          new PagedListResponseFactory<
    +              ListDeploymentGroupRevisionsRequest,
    +              ListDeploymentGroupRevisionsResponse,
    +              ListDeploymentGroupRevisionsPagedResponse>() {
    +            @Override
    +            public ApiFuture getFuturePagedResponse(
    +                UnaryCallable<
    +                        ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse>
    +                    callable,
    +                ListDeploymentGroupRevisionsRequest request,
    +                ApiCallContext context,
    +                ApiFuture futureResponse) {
    +              PageContext<
    +                      ListDeploymentGroupRevisionsRequest,
    +                      ListDeploymentGroupRevisionsResponse,
    +                      DeploymentGroupRevision>
    +                  pageContext =
    +                      PageContext.create(
    +                          callable,
    +                          LIST_DEPLOYMENT_GROUP_REVISIONS_PAGE_STR_DESC,
    +                          request,
    +                          context);
    +              return ListDeploymentGroupRevisionsPagedResponse.createAsync(
    +                  pageContext, futureResponse);
    +            }
    +          };
    +
       private static final PagedListResponseFactory<
               ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
           LIST_LOCATIONS_PAGE_STR_FACT =
    @@ -935,6 +1131,97 @@ public UnaryCallSettings getResourceDrif
         return updateAutoMigrationConfigOperationSettings;
       }
     
    +  /** Returns the object with the settings used for calls to getDeploymentGroup. */
    +  public UnaryCallSettings
    +      getDeploymentGroupSettings() {
    +    return getDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to createDeploymentGroup. */
    +  public UnaryCallSettings
    +      createDeploymentGroupSettings() {
    +    return createDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to createDeploymentGroup. */
    +  public OperationCallSettings
    +      createDeploymentGroupOperationSettings() {
    +    return createDeploymentGroupOperationSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to updateDeploymentGroup. */
    +  public UnaryCallSettings
    +      updateDeploymentGroupSettings() {
    +    return updateDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to updateDeploymentGroup. */
    +  public OperationCallSettings
    +      updateDeploymentGroupOperationSettings() {
    +    return updateDeploymentGroupOperationSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to deleteDeploymentGroup. */
    +  public UnaryCallSettings
    +      deleteDeploymentGroupSettings() {
    +    return deleteDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to deleteDeploymentGroup. */
    +  public OperationCallSettings
    +      deleteDeploymentGroupOperationSettings() {
    +    return deleteDeploymentGroupOperationSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to listDeploymentGroups. */
    +  public PagedCallSettings<
    +          ListDeploymentGroupsRequest,
    +          ListDeploymentGroupsResponse,
    +          ListDeploymentGroupsPagedResponse>
    +      listDeploymentGroupsSettings() {
    +    return listDeploymentGroupsSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to provisionDeploymentGroup. */
    +  public UnaryCallSettings
    +      provisionDeploymentGroupSettings() {
    +    return provisionDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to provisionDeploymentGroup. */
    +  public OperationCallSettings
    +      provisionDeploymentGroupOperationSettings() {
    +    return provisionDeploymentGroupOperationSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to deprovisionDeploymentGroup. */
    +  public UnaryCallSettings
    +      deprovisionDeploymentGroupSettings() {
    +    return deprovisionDeploymentGroupSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to deprovisionDeploymentGroup. */
    +  public OperationCallSettings<
    +          DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deprovisionDeploymentGroupOperationSettings() {
    +    return deprovisionDeploymentGroupOperationSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to getDeploymentGroupRevision. */
    +  public UnaryCallSettings
    +      getDeploymentGroupRevisionSettings() {
    +    return getDeploymentGroupRevisionSettings;
    +  }
    +
    +  /** Returns the object with the settings used for calls to listDeploymentGroupRevisions. */
    +  public PagedCallSettings<
    +          ListDeploymentGroupRevisionsRequest,
    +          ListDeploymentGroupRevisionsResponse,
    +          ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsSettings() {
    +    return listDeploymentGroupRevisionsSettings;
    +  }
    +
       /** Returns the object with the settings used for calls to listLocations. */
       public PagedCallSettings
           listLocationsSettings() {
    @@ -1109,6 +1396,28 @@ protected ConfigStubSettings(Builder settingsBuilder) throws IOException {
         updateAutoMigrationConfigSettings = settingsBuilder.updateAutoMigrationConfigSettings().build();
         updateAutoMigrationConfigOperationSettings =
             settingsBuilder.updateAutoMigrationConfigOperationSettings().build();
    +    getDeploymentGroupSettings = settingsBuilder.getDeploymentGroupSettings().build();
    +    createDeploymentGroupSettings = settingsBuilder.createDeploymentGroupSettings().build();
    +    createDeploymentGroupOperationSettings =
    +        settingsBuilder.createDeploymentGroupOperationSettings().build();
    +    updateDeploymentGroupSettings = settingsBuilder.updateDeploymentGroupSettings().build();
    +    updateDeploymentGroupOperationSettings =
    +        settingsBuilder.updateDeploymentGroupOperationSettings().build();
    +    deleteDeploymentGroupSettings = settingsBuilder.deleteDeploymentGroupSettings().build();
    +    deleteDeploymentGroupOperationSettings =
    +        settingsBuilder.deleteDeploymentGroupOperationSettings().build();
    +    listDeploymentGroupsSettings = settingsBuilder.listDeploymentGroupsSettings().build();
    +    provisionDeploymentGroupSettings = settingsBuilder.provisionDeploymentGroupSettings().build();
    +    provisionDeploymentGroupOperationSettings =
    +        settingsBuilder.provisionDeploymentGroupOperationSettings().build();
    +    deprovisionDeploymentGroupSettings =
    +        settingsBuilder.deprovisionDeploymentGroupSettings().build();
    +    deprovisionDeploymentGroupOperationSettings =
    +        settingsBuilder.deprovisionDeploymentGroupOperationSettings().build();
    +    getDeploymentGroupRevisionSettings =
    +        settingsBuilder.getDeploymentGroupRevisionSettings().build();
    +    listDeploymentGroupRevisionsSettings =
    +        settingsBuilder.listDeploymentGroupRevisionsSettings().build();
         listLocationsSettings = settingsBuilder.listLocationsSettings().build();
         getLocationSettings = settingsBuilder.getLocationSettings().build();
         setIamPolicySettings = settingsBuilder.setIamPolicySettings().build();
    @@ -1211,6 +1520,46 @@ public static class Builder extends StubSettings.Builder
             updateAutoMigrationConfigOperationSettings;
    +    private final UnaryCallSettings.Builder
    +        getDeploymentGroupSettings;
    +    private final UnaryCallSettings.Builder
    +        createDeploymentGroupSettings;
    +    private final OperationCallSettings.Builder<
    +            CreateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        createDeploymentGroupOperationSettings;
    +    private final UnaryCallSettings.Builder
    +        updateDeploymentGroupSettings;
    +    private final OperationCallSettings.Builder<
    +            UpdateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        updateDeploymentGroupOperationSettings;
    +    private final UnaryCallSettings.Builder
    +        deleteDeploymentGroupSettings;
    +    private final OperationCallSettings.Builder<
    +            DeleteDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deleteDeploymentGroupOperationSettings;
    +    private final PagedCallSettings.Builder<
    +            ListDeploymentGroupsRequest,
    +            ListDeploymentGroupsResponse,
    +            ListDeploymentGroupsPagedResponse>
    +        listDeploymentGroupsSettings;
    +    private final UnaryCallSettings.Builder
    +        provisionDeploymentGroupSettings;
    +    private final OperationCallSettings.Builder<
    +            ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        provisionDeploymentGroupOperationSettings;
    +    private final UnaryCallSettings.Builder
    +        deprovisionDeploymentGroupSettings;
    +    private final OperationCallSettings.Builder<
    +            DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deprovisionDeploymentGroupOperationSettings;
    +    private final UnaryCallSettings.Builder<
    +            GetDeploymentGroupRevisionRequest, DeploymentGroupRevision>
    +        getDeploymentGroupRevisionSettings;
    +    private final PagedCallSettings.Builder<
    +            ListDeploymentGroupRevisionsRequest,
    +            ListDeploymentGroupRevisionsResponse,
    +            ListDeploymentGroupRevisionsPagedResponse>
    +        listDeploymentGroupRevisionsSettings;
         private final PagedCallSettings.Builder<
                 ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
             listLocationsSettings;
    @@ -1296,6 +1645,22 @@ protected Builder(ClientContext clientContext) {
           getAutoMigrationConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
           updateAutoMigrationConfigSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
           updateAutoMigrationConfigOperationSettings = OperationCallSettings.newBuilder();
    +      getDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      createDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      createDeploymentGroupOperationSettings = OperationCallSettings.newBuilder();
    +      updateDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      updateDeploymentGroupOperationSettings = OperationCallSettings.newBuilder();
    +      deleteDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      deleteDeploymentGroupOperationSettings = OperationCallSettings.newBuilder();
    +      listDeploymentGroupsSettings =
    +          PagedCallSettings.newBuilder(LIST_DEPLOYMENT_GROUPS_PAGE_STR_FACT);
    +      provisionDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      provisionDeploymentGroupOperationSettings = OperationCallSettings.newBuilder();
    +      deprovisionDeploymentGroupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      deprovisionDeploymentGroupOperationSettings = OperationCallSettings.newBuilder();
    +      getDeploymentGroupRevisionSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    +      listDeploymentGroupRevisionsSettings =
    +          PagedCallSettings.newBuilder(LIST_DEPLOYMENT_GROUP_REVISIONS_PAGE_STR_FACT);
           listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT);
           getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
           setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
    @@ -1333,6 +1698,15 @@ protected Builder(ClientContext clientContext) {
                   getResourceDriftSettings,
                   getAutoMigrationConfigSettings,
                   updateAutoMigrationConfigSettings,
    +              getDeploymentGroupSettings,
    +              createDeploymentGroupSettings,
    +              updateDeploymentGroupSettings,
    +              deleteDeploymentGroupSettings,
    +              listDeploymentGroupsSettings,
    +              provisionDeploymentGroupSettings,
    +              deprovisionDeploymentGroupSettings,
    +              getDeploymentGroupRevisionSettings,
    +              listDeploymentGroupRevisionsSettings,
                   listLocationsSettings,
                   getLocationSettings,
                   setIamPolicySettings,
    @@ -1382,6 +1756,26 @@ protected Builder(ConfigStubSettings settings) {
           updateAutoMigrationConfigSettings = settings.updateAutoMigrationConfigSettings.toBuilder();
           updateAutoMigrationConfigOperationSettings =
               settings.updateAutoMigrationConfigOperationSettings.toBuilder();
    +      getDeploymentGroupSettings = settings.getDeploymentGroupSettings.toBuilder();
    +      createDeploymentGroupSettings = settings.createDeploymentGroupSettings.toBuilder();
    +      createDeploymentGroupOperationSettings =
    +          settings.createDeploymentGroupOperationSettings.toBuilder();
    +      updateDeploymentGroupSettings = settings.updateDeploymentGroupSettings.toBuilder();
    +      updateDeploymentGroupOperationSettings =
    +          settings.updateDeploymentGroupOperationSettings.toBuilder();
    +      deleteDeploymentGroupSettings = settings.deleteDeploymentGroupSettings.toBuilder();
    +      deleteDeploymentGroupOperationSettings =
    +          settings.deleteDeploymentGroupOperationSettings.toBuilder();
    +      listDeploymentGroupsSettings = settings.listDeploymentGroupsSettings.toBuilder();
    +      provisionDeploymentGroupSettings = settings.provisionDeploymentGroupSettings.toBuilder();
    +      provisionDeploymentGroupOperationSettings =
    +          settings.provisionDeploymentGroupOperationSettings.toBuilder();
    +      deprovisionDeploymentGroupSettings = settings.deprovisionDeploymentGroupSettings.toBuilder();
    +      deprovisionDeploymentGroupOperationSettings =
    +          settings.deprovisionDeploymentGroupOperationSettings.toBuilder();
    +      getDeploymentGroupRevisionSettings = settings.getDeploymentGroupRevisionSettings.toBuilder();
    +      listDeploymentGroupRevisionsSettings =
    +          settings.listDeploymentGroupRevisionsSettings.toBuilder();
           listLocationsSettings = settings.listLocationsSettings.toBuilder();
           getLocationSettings = settings.getLocationSettings.toBuilder();
           setIamPolicySettings = settings.setIamPolicySettings.toBuilder();
    @@ -1419,6 +1813,15 @@ protected Builder(ConfigStubSettings settings) {
                   getResourceDriftSettings,
                   getAutoMigrationConfigSettings,
                   updateAutoMigrationConfigSettings,
    +              getDeploymentGroupSettings,
    +              createDeploymentGroupSettings,
    +              updateDeploymentGroupSettings,
    +              deleteDeploymentGroupSettings,
    +              listDeploymentGroupsSettings,
    +              provisionDeploymentGroupSettings,
    +              deprovisionDeploymentGroupSettings,
    +              getDeploymentGroupRevisionSettings,
    +              listDeploymentGroupRevisionsSettings,
                   listLocationsSettings,
                   getLocationSettings,
                   setIamPolicySettings,
    @@ -1596,6 +1999,51 @@ private static Builder initDefaults(Builder builder) {
               .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
               .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
     
    +      builder
    +          .getDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .createDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .updateDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .deleteDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .listDeploymentGroupsSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .provisionDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .deprovisionDeploymentGroupSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .getDeploymentGroupRevisionSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
    +      builder
    +          .listDeploymentGroupRevisionsSettings()
    +          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
    +
           builder
               .listLocationsSettings()
               .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    @@ -1814,6 +2262,127 @@ private static Builder initDefaults(Builder builder) {
                           .setTotalTimeoutDuration(Duration.ofMillis(300000L))
                           .build()));
     
    +      builder
    +          .createDeploymentGroupOperationSettings()
    +          .setInitialCallSettings(
    +              UnaryCallSettings
    +                  .newUnaryCallSettingsBuilder()
    +                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
    +                  .build())
    +          .setResponseTransformer(
    +              ProtoOperationTransformers.ResponseTransformer.create(DeploymentGroup.class))
    +          .setMetadataTransformer(
    +              ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
    +          .setPollingAlgorithm(
    +              OperationTimedPollAlgorithm.create(
    +                  RetrySettings.newBuilder()
    +                      .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
    +                      .setRetryDelayMultiplier(1.5)
    +                      .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
    +                      .setInitialRpcTimeoutDuration(Duration.ZERO)
    +                      .setRpcTimeoutMultiplier(1.0)
    +                      .setMaxRpcTimeoutDuration(Duration.ZERO)
    +                      .setTotalTimeoutDuration(Duration.ofMillis(300000L))
    +                      .build()));
    +
    +      builder
    +          .updateDeploymentGroupOperationSettings()
    +          .setInitialCallSettings(
    +              UnaryCallSettings
    +                  .newUnaryCallSettingsBuilder()
    +                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
    +                  .build())
    +          .setResponseTransformer(
    +              ProtoOperationTransformers.ResponseTransformer.create(DeploymentGroup.class))
    +          .setMetadataTransformer(
    +              ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
    +          .setPollingAlgorithm(
    +              OperationTimedPollAlgorithm.create(
    +                  RetrySettings.newBuilder()
    +                      .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
    +                      .setRetryDelayMultiplier(1.5)
    +                      .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
    +                      .setInitialRpcTimeoutDuration(Duration.ZERO)
    +                      .setRpcTimeoutMultiplier(1.0)
    +                      .setMaxRpcTimeoutDuration(Duration.ZERO)
    +                      .setTotalTimeoutDuration(Duration.ofMillis(300000L))
    +                      .build()));
    +
    +      builder
    +          .deleteDeploymentGroupOperationSettings()
    +          .setInitialCallSettings(
    +              UnaryCallSettings
    +                  .newUnaryCallSettingsBuilder()
    +                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
    +                  .build())
    +          .setResponseTransformer(
    +              ProtoOperationTransformers.ResponseTransformer.create(DeploymentGroup.class))
    +          .setMetadataTransformer(
    +              ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
    +          .setPollingAlgorithm(
    +              OperationTimedPollAlgorithm.create(
    +                  RetrySettings.newBuilder()
    +                      .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
    +                      .setRetryDelayMultiplier(1.5)
    +                      .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
    +                      .setInitialRpcTimeoutDuration(Duration.ZERO)
    +                      .setRpcTimeoutMultiplier(1.0)
    +                      .setMaxRpcTimeoutDuration(Duration.ZERO)
    +                      .setTotalTimeoutDuration(Duration.ofMillis(300000L))
    +                      .build()));
    +
    +      builder
    +          .provisionDeploymentGroupOperationSettings()
    +          .setInitialCallSettings(
    +              UnaryCallSettings
    +                  .newUnaryCallSettingsBuilder()
    +                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
    +                  .build())
    +          .setResponseTransformer(
    +              ProtoOperationTransformers.ResponseTransformer.create(DeploymentGroup.class))
    +          .setMetadataTransformer(
    +              ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
    +          .setPollingAlgorithm(
    +              OperationTimedPollAlgorithm.create(
    +                  RetrySettings.newBuilder()
    +                      .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
    +                      .setRetryDelayMultiplier(1.5)
    +                      .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
    +                      .setInitialRpcTimeoutDuration(Duration.ZERO)
    +                      .setRpcTimeoutMultiplier(1.0)
    +                      .setMaxRpcTimeoutDuration(Duration.ZERO)
    +                      .setTotalTimeoutDuration(Duration.ofMillis(300000L))
    +                      .build()));
    +
    +      builder
    +          .deprovisionDeploymentGroupOperationSettings()
    +          .setInitialCallSettings(
    +              UnaryCallSettings
    +                  .
    +                      newUnaryCallSettingsBuilder()
    +                  .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
    +                  .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
    +                  .build())
    +          .setResponseTransformer(
    +              ProtoOperationTransformers.ResponseTransformer.create(DeploymentGroup.class))
    +          .setMetadataTransformer(
    +              ProtoOperationTransformers.MetadataTransformer.create(OperationMetadata.class))
    +          .setPollingAlgorithm(
    +              OperationTimedPollAlgorithm.create(
    +                  RetrySettings.newBuilder()
    +                      .setInitialRetryDelayDuration(Duration.ofMillis(5000L))
    +                      .setRetryDelayMultiplier(1.5)
    +                      .setMaxRetryDelayDuration(Duration.ofMillis(45000L))
    +                      .setInitialRpcTimeoutDuration(Duration.ZERO)
    +                      .setRpcTimeoutMultiplier(1.0)
    +                      .setMaxRpcTimeoutDuration(Duration.ZERO)
    +                      .setTotalTimeoutDuration(Duration.ofMillis(300000L))
    +                      .build()));
    +
           return builder;
         }
     
    @@ -2056,6 +2625,101 @@ public UnaryCallSettings.Builder deletePreviewS
           return updateAutoMigrationConfigOperationSettings;
         }
     
    +    /** Returns the builder for the settings used for calls to getDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        getDeploymentGroupSettings() {
    +      return getDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to createDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        createDeploymentGroupSettings() {
    +      return createDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to createDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            CreateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        createDeploymentGroupOperationSettings() {
    +      return createDeploymentGroupOperationSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to updateDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        updateDeploymentGroupSettings() {
    +      return updateDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to updateDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            UpdateDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        updateDeploymentGroupOperationSettings() {
    +      return updateDeploymentGroupOperationSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deleteDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        deleteDeploymentGroupSettings() {
    +      return deleteDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deleteDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            DeleteDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deleteDeploymentGroupOperationSettings() {
    +      return deleteDeploymentGroupOperationSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to listDeploymentGroups. */
    +    public PagedCallSettings.Builder<
    +            ListDeploymentGroupsRequest,
    +            ListDeploymentGroupsResponse,
    +            ListDeploymentGroupsPagedResponse>
    +        listDeploymentGroupsSettings() {
    +      return listDeploymentGroupsSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to provisionDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        provisionDeploymentGroupSettings() {
    +      return provisionDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to provisionDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        provisionDeploymentGroupOperationSettings() {
    +      return provisionDeploymentGroupOperationSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deprovisionDeploymentGroup. */
    +    public UnaryCallSettings.Builder
    +        deprovisionDeploymentGroupSettings() {
    +      return deprovisionDeploymentGroupSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to deprovisionDeploymentGroup. */
    +    public OperationCallSettings.Builder<
    +            DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +        deprovisionDeploymentGroupOperationSettings() {
    +      return deprovisionDeploymentGroupOperationSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to getDeploymentGroupRevision. */
    +    public UnaryCallSettings.Builder
    +        getDeploymentGroupRevisionSettings() {
    +      return getDeploymentGroupRevisionSettings;
    +    }
    +
    +    /** Returns the builder for the settings used for calls to listDeploymentGroupRevisions. */
    +    public PagedCallSettings.Builder<
    +            ListDeploymentGroupRevisionsRequest,
    +            ListDeploymentGroupRevisionsResponse,
    +            ListDeploymentGroupRevisionsPagedResponse>
    +        listDeploymentGroupRevisionsSettings() {
    +      return listDeploymentGroupRevisionsSettings;
    +    }
    +
         /** Returns the builder for the settings used for calls to listLocations. */
         public PagedCallSettings.Builder<
                 ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java
    index 4dafd793dd0c..8b6bc79d7407 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/GrpcConfigStub.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1.stub;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -34,18 +36,25 @@
     import com.google.api.gax.rpc.RequestParamsBuilder;
     import com.google.api.gax.rpc.UnaryCallable;
     import com.google.cloud.config.v1.AutoMigrationConfig;
    +import com.google.cloud.config.v1.CreateDeploymentGroupRequest;
     import com.google.cloud.config.v1.CreateDeploymentRequest;
     import com.google.cloud.config.v1.CreatePreviewRequest;
    +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest;
     import com.google.cloud.config.v1.DeleteDeploymentRequest;
     import com.google.cloud.config.v1.DeletePreviewRequest;
     import com.google.cloud.config.v1.DeleteStatefileRequest;
     import com.google.cloud.config.v1.Deployment;
    +import com.google.cloud.config.v1.DeploymentGroup;
    +import com.google.cloud.config.v1.DeploymentGroupRevision;
    +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.ExportDeploymentStatefileRequest;
     import com.google.cloud.config.v1.ExportLockInfoRequest;
     import com.google.cloud.config.v1.ExportPreviewResultRequest;
     import com.google.cloud.config.v1.ExportPreviewResultResponse;
     import com.google.cloud.config.v1.ExportRevisionStatefileRequest;
     import com.google.cloud.config.v1.GetAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest;
     import com.google.cloud.config.v1.GetDeploymentRequest;
     import com.google.cloud.config.v1.GetPreviewRequest;
     import com.google.cloud.config.v1.GetResourceChangeRequest;
    @@ -54,6 +63,10 @@
     import com.google.cloud.config.v1.GetRevisionRequest;
     import com.google.cloud.config.v1.GetTerraformVersionRequest;
     import com.google.cloud.config.v1.ImportStatefileRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse;
    +import com.google.cloud.config.v1.ListDeploymentGroupsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupsResponse;
     import com.google.cloud.config.v1.ListDeploymentsRequest;
     import com.google.cloud.config.v1.ListDeploymentsResponse;
     import com.google.cloud.config.v1.ListPreviewsRequest;
    @@ -72,6 +85,7 @@
     import com.google.cloud.config.v1.LockInfo;
     import com.google.cloud.config.v1.OperationMetadata;
     import com.google.cloud.config.v1.Preview;
    +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.Resource;
     import com.google.cloud.config.v1.ResourceChange;
     import com.google.cloud.config.v1.ResourceDrift;
    @@ -80,6 +94,7 @@
     import com.google.cloud.config.v1.TerraformVersion;
     import com.google.cloud.config.v1.UnlockDeploymentRequest;
     import com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest;
     import com.google.cloud.config.v1.UpdateDeploymentRequest;
     import com.google.cloud.location.GetLocationRequest;
     import com.google.cloud.location.ListLocationsRequest;
    @@ -428,6 +443,111 @@ public class GrpcConfigStub extends ConfigStub {
                   .setSampledToLocalTracing(true)
                   .build();
     
    +  private static final MethodDescriptor
    +      getDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/GetDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(GetDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(DeploymentGroup.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      createDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/CreateDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(CreateDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      updateDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/UpdateDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(UpdateDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      deleteDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/DeleteDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(DeleteDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      listDeploymentGroupsMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/ListDeploymentGroups")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(ListDeploymentGroupsRequest.getDefaultInstance()))
    +              .setResponseMarshaller(
    +                  ProtoUtils.marshaller(ListDeploymentGroupsResponse.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      provisionDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/ProvisionDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(ProvisionDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      deprovisionDeploymentGroupMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/DeprovisionDeploymentGroup")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(DeprovisionDeploymentGroupRequest.getDefaultInstance()))
    +              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor
    +      getDeploymentGroupRevisionMethodDescriptor =
    +          MethodDescriptor.newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/GetDeploymentGroupRevision")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(GetDeploymentGroupRevisionRequest.getDefaultInstance()))
    +              .setResponseMarshaller(
    +                  ProtoUtils.marshaller(DeploymentGroupRevision.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
    +  private static final MethodDescriptor<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse>
    +      listDeploymentGroupRevisionsMethodDescriptor =
    +          MethodDescriptor
    +              .
    +                  newBuilder()
    +              .setType(MethodDescriptor.MethodType.UNARY)
    +              .setFullMethodName("google.cloud.config.v1.Config/ListDeploymentGroupRevisions")
    +              .setRequestMarshaller(
    +                  ProtoUtils.marshaller(ListDeploymentGroupRevisionsRequest.getDefaultInstance()))
    +              .setResponseMarshaller(
    +                  ProtoUtils.marshaller(ListDeploymentGroupRevisionsResponse.getDefaultInstance()))
    +              .setSampledToLocalTracing(true)
    +              .build();
    +
       private static final MethodDescriptor
           listLocationsMethodDescriptor =
               MethodDescriptor.newBuilder()
    @@ -549,6 +669,42 @@ public class GrpcConfigStub extends ConfigStub {
       private final OperationCallable<
               UpdateAutoMigrationConfigRequest, AutoMigrationConfig, OperationMetadata>
           updateAutoMigrationConfigOperationCallable;
    +  private final UnaryCallable
    +      getDeploymentGroupCallable;
    +  private final UnaryCallable
    +      createDeploymentGroupCallable;
    +  private final OperationCallable
    +      createDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      updateDeploymentGroupCallable;
    +  private final OperationCallable
    +      updateDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      deleteDeploymentGroupCallable;
    +  private final OperationCallable
    +      deleteDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      listDeploymentGroupsCallable;
    +  private final UnaryCallable
    +      listDeploymentGroupsPagedCallable;
    +  private final UnaryCallable
    +      provisionDeploymentGroupCallable;
    +  private final OperationCallable<
    +          ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      provisionDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      deprovisionDeploymentGroupCallable;
    +  private final OperationCallable<
    +          DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deprovisionDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      getDeploymentGroupRevisionCallable;
    +  private final UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse>
    +      listDeploymentGroupRevisionsCallable;
    +  private final UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsPagedCallable;
       private final UnaryCallable listLocationsCallable;
       private final UnaryCallable
           listLocationsPagedCallable;
    @@ -927,6 +1083,118 @@ protected GrpcConfigStub(
                           return builder.build();
                         })
                     .build();
    +    GrpcCallSettings
    +        getDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(getDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    GrpcCallSettings
    +        createDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(createDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
    +    GrpcCallSettings
    +        updateDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(updateDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add(
    +                          "deployment_group.name",
    +                          String.valueOf(request.getDeploymentGroup().getName()));
    +                      return builder.build();
    +                    })
    +                .build();
    +    GrpcCallSettings
    +        deleteDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(deleteDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    GrpcCallSettings
    +        listDeploymentGroupsTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(listDeploymentGroupsMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
    +    GrpcCallSettings
    +        provisionDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(provisionDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    GrpcCallSettings
    +        deprovisionDeploymentGroupTransportSettings =
    +            GrpcCallSettings.newBuilder()
    +                .setMethodDescriptor(deprovisionDeploymentGroupMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    GrpcCallSettings
    +        getDeploymentGroupRevisionTransportSettings =
    +            GrpcCallSettings
    +                .newBuilder()
    +                .setMethodDescriptor(getDeploymentGroupRevisionMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    GrpcCallSettings
    +        listDeploymentGroupRevisionsTransportSettings =
    +            GrpcCallSettings
    +                .
    +                    newBuilder()
    +                .setMethodDescriptor(listDeploymentGroupRevisionsMethodDescriptor)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
         GrpcCallSettings listLocationsTransportSettings =
             GrpcCallSettings.newBuilder()
                 .setMethodDescriptor(listLocationsMethodDescriptor)
    @@ -1164,6 +1432,91 @@ protected GrpcConfigStub(
                 settings.updateAutoMigrationConfigOperationSettings(),
                 clientContext,
                 operationsStub);
    +    this.getDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            getDeploymentGroupTransportSettings,
    +            settings.getDeploymentGroupSettings(),
    +            clientContext);
    +    this.createDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            createDeploymentGroupTransportSettings,
    +            settings.createDeploymentGroupSettings(),
    +            clientContext);
    +    this.createDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            createDeploymentGroupTransportSettings,
    +            settings.createDeploymentGroupOperationSettings(),
    +            clientContext,
    +            operationsStub);
    +    this.updateDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            updateDeploymentGroupTransportSettings,
    +            settings.updateDeploymentGroupSettings(),
    +            clientContext);
    +    this.updateDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            updateDeploymentGroupTransportSettings,
    +            settings.updateDeploymentGroupOperationSettings(),
    +            clientContext,
    +            operationsStub);
    +    this.deleteDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            deleteDeploymentGroupTransportSettings,
    +            settings.deleteDeploymentGroupSettings(),
    +            clientContext);
    +    this.deleteDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            deleteDeploymentGroupTransportSettings,
    +            settings.deleteDeploymentGroupOperationSettings(),
    +            clientContext,
    +            operationsStub);
    +    this.listDeploymentGroupsCallable =
    +        callableFactory.createUnaryCallable(
    +            listDeploymentGroupsTransportSettings,
    +            settings.listDeploymentGroupsSettings(),
    +            clientContext);
    +    this.listDeploymentGroupsPagedCallable =
    +        callableFactory.createPagedCallable(
    +            listDeploymentGroupsTransportSettings,
    +            settings.listDeploymentGroupsSettings(),
    +            clientContext);
    +    this.provisionDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            provisionDeploymentGroupTransportSettings,
    +            settings.provisionDeploymentGroupSettings(),
    +            clientContext);
    +    this.provisionDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            provisionDeploymentGroupTransportSettings,
    +            settings.provisionDeploymentGroupOperationSettings(),
    +            clientContext,
    +            operationsStub);
    +    this.deprovisionDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            deprovisionDeploymentGroupTransportSettings,
    +            settings.deprovisionDeploymentGroupSettings(),
    +            clientContext);
    +    this.deprovisionDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            deprovisionDeploymentGroupTransportSettings,
    +            settings.deprovisionDeploymentGroupOperationSettings(),
    +            clientContext,
    +            operationsStub);
    +    this.getDeploymentGroupRevisionCallable =
    +        callableFactory.createUnaryCallable(
    +            getDeploymentGroupRevisionTransportSettings,
    +            settings.getDeploymentGroupRevisionSettings(),
    +            clientContext);
    +    this.listDeploymentGroupRevisionsCallable =
    +        callableFactory.createUnaryCallable(
    +            listDeploymentGroupRevisionsTransportSettings,
    +            settings.listDeploymentGroupRevisionsSettings(),
    +            clientContext);
    +    this.listDeploymentGroupRevisionsPagedCallable =
    +        callableFactory.createPagedCallable(
    +            listDeploymentGroupRevisionsTransportSettings,
    +            settings.listDeploymentGroupRevisionsSettings(),
    +            clientContext);
         this.listLocationsCallable =
             callableFactory.createUnaryCallable(
                 listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
    @@ -1435,6 +1788,99 @@ public UnaryCallable getResourceDriftCal
         return updateAutoMigrationConfigOperationCallable;
       }
     
    +  @Override
    +  public UnaryCallable getDeploymentGroupCallable() {
    +    return getDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable createDeploymentGroupCallable() {
    +    return createDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      createDeploymentGroupOperationCallable() {
    +    return createDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable updateDeploymentGroupCallable() {
    +    return updateDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      updateDeploymentGroupOperationCallable() {
    +    return updateDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable deleteDeploymentGroupCallable() {
    +    return deleteDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      deleteDeploymentGroupOperationCallable() {
    +    return deleteDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupsCallable() {
    +    return listDeploymentGroupsCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupsPagedCallable() {
    +    return listDeploymentGroupsPagedCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      provisionDeploymentGroupCallable() {
    +    return provisionDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      provisionDeploymentGroupOperationCallable() {
    +    return provisionDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      deprovisionDeploymentGroupCallable() {
    +    return deprovisionDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      deprovisionDeploymentGroupOperationCallable() {
    +    return deprovisionDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      getDeploymentGroupRevisionCallable() {
    +    return getDeploymentGroupRevisionCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupRevisionsCallable() {
    +    return listDeploymentGroupRevisionsCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsPagedCallable() {
    +    return listDeploymentGroupRevisionsPagedCallable;
    +  }
    +
       @Override
       public UnaryCallable listLocationsCallable() {
         return listLocationsCallable;
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java
    index 2e25a55118bc..c6976153534d 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/HttpJsonConfigStub.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1.stub;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -42,18 +44,25 @@
     import com.google.api.gax.rpc.RequestParamsBuilder;
     import com.google.api.gax.rpc.UnaryCallable;
     import com.google.cloud.config.v1.AutoMigrationConfig;
    +import com.google.cloud.config.v1.CreateDeploymentGroupRequest;
     import com.google.cloud.config.v1.CreateDeploymentRequest;
     import com.google.cloud.config.v1.CreatePreviewRequest;
    +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest;
     import com.google.cloud.config.v1.DeleteDeploymentRequest;
     import com.google.cloud.config.v1.DeletePreviewRequest;
     import com.google.cloud.config.v1.DeleteStatefileRequest;
     import com.google.cloud.config.v1.Deployment;
    +import com.google.cloud.config.v1.DeploymentGroup;
    +import com.google.cloud.config.v1.DeploymentGroupRevision;
    +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.ExportDeploymentStatefileRequest;
     import com.google.cloud.config.v1.ExportLockInfoRequest;
     import com.google.cloud.config.v1.ExportPreviewResultRequest;
     import com.google.cloud.config.v1.ExportPreviewResultResponse;
     import com.google.cloud.config.v1.ExportRevisionStatefileRequest;
     import com.google.cloud.config.v1.GetAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRequest;
    +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest;
     import com.google.cloud.config.v1.GetDeploymentRequest;
     import com.google.cloud.config.v1.GetPreviewRequest;
     import com.google.cloud.config.v1.GetResourceChangeRequest;
    @@ -62,6 +71,10 @@
     import com.google.cloud.config.v1.GetRevisionRequest;
     import com.google.cloud.config.v1.GetTerraformVersionRequest;
     import com.google.cloud.config.v1.ImportStatefileRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse;
    +import com.google.cloud.config.v1.ListDeploymentGroupsRequest;
    +import com.google.cloud.config.v1.ListDeploymentGroupsResponse;
     import com.google.cloud.config.v1.ListDeploymentsRequest;
     import com.google.cloud.config.v1.ListDeploymentsResponse;
     import com.google.cloud.config.v1.ListPreviewsRequest;
    @@ -80,6 +93,7 @@
     import com.google.cloud.config.v1.LockInfo;
     import com.google.cloud.config.v1.OperationMetadata;
     import com.google.cloud.config.v1.Preview;
    +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest;
     import com.google.cloud.config.v1.Resource;
     import com.google.cloud.config.v1.ResourceChange;
     import com.google.cloud.config.v1.ResourceDrift;
    @@ -88,6 +102,7 @@
     import com.google.cloud.config.v1.TerraformVersion;
     import com.google.cloud.config.v1.UnlockDeploymentRequest;
     import com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest;
    +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest;
     import com.google.cloud.config.v1.UpdateDeploymentRequest;
     import com.google.cloud.location.GetLocationRequest;
     import com.google.cloud.location.ListLocationsRequest;
    @@ -122,6 +137,7 @@ public class HttpJsonConfigStub extends ConfigStub {
           TypeRegistry.newBuilder()
               .add(Deployment.getDescriptor())
               .add(AutoMigrationConfig.getDescriptor())
    +          .add(DeploymentGroup.getDescriptor())
               .add(OperationMetadata.getDescriptor())
               .add(Preview.getDescriptor())
               .build();
    @@ -1218,6 +1234,366 @@ public class HttpJsonConfigStub extends ConfigStub {
                           HttpJsonOperationSnapshot.create(response))
                   .build();
     
    +  private static final ApiMethodDescriptor
    +      getDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/GetDeploymentGroup")
    +              .setHttpMethod("GET")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{name=projects/*/locations/*/deploymentGroups/*}",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "name", request.getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(request -> null)
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(DeploymentGroup.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .build();
    +
    +  private static final ApiMethodDescriptor
    +      createDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/CreateDeploymentGroup")
    +              .setHttpMethod("POST")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{parent=projects/*/locations/*}/deploymentGroups",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "parent", request.getParent());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(
    +                                fields, "deploymentGroupId", request.getDeploymentGroupId());
    +                            serializer.putQueryParam(fields, "requestId", request.getRequestId());
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(
    +                          request ->
    +                              ProtoRestSerializer.create()
    +                                  .toBody("deploymentGroup", request.getDeploymentGroup(), true))
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(Operation.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .setOperationSnapshotFactory(
    +                  (CreateDeploymentGroupRequest request, Operation response) ->
    +                      HttpJsonOperationSnapshot.create(response))
    +              .build();
    +
    +  private static final ApiMethodDescriptor
    +      updateDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/UpdateDeploymentGroup")
    +              .setHttpMethod("PATCH")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{deploymentGroup.name=projects/*/locations/*/deploymentGroups/*}",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(
    +                                fields,
    +                                "deploymentGroup.name",
    +                                request.getDeploymentGroup().getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "requestId", request.getRequestId());
    +                            serializer.putQueryParam(fields, "updateMask", request.getUpdateMask());
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(
    +                          request ->
    +                              ProtoRestSerializer.create()
    +                                  .toBody("deploymentGroup", request.getDeploymentGroup(), true))
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(Operation.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .setOperationSnapshotFactory(
    +                  (UpdateDeploymentGroupRequest request, Operation response) ->
    +                      HttpJsonOperationSnapshot.create(response))
    +              .build();
    +
    +  private static final ApiMethodDescriptor
    +      deleteDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/DeleteDeploymentGroup")
    +              .setHttpMethod("DELETE")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{name=projects/*/locations/*/deploymentGroups/*}",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "name", request.getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(
    +                                fields,
    +                                "deploymentReferencePolicy",
    +                                request.getDeploymentReferencePolicyValue());
    +                            serializer.putQueryParam(fields, "force", request.getForce());
    +                            serializer.putQueryParam(fields, "requestId", request.getRequestId());
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(request -> null)
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(Operation.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .setOperationSnapshotFactory(
    +                  (DeleteDeploymentGroupRequest request, Operation response) ->
    +                      HttpJsonOperationSnapshot.create(response))
    +              .build();
    +
    +  private static final ApiMethodDescriptor<
    +          ListDeploymentGroupsRequest, ListDeploymentGroupsResponse>
    +      listDeploymentGroupsMethodDescriptor =
    +          ApiMethodDescriptor
    +              .newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/ListDeploymentGroups")
    +              .setHttpMethod("GET")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{parent=projects/*/locations/*}/deploymentGroups",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "parent", request.getParent());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "filter", request.getFilter());
    +                            serializer.putQueryParam(fields, "orderBy", request.getOrderBy());
    +                            serializer.putQueryParam(fields, "pageSize", request.getPageSize());
    +                            serializer.putQueryParam(fields, "pageToken", request.getPageToken());
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(request -> null)
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(ListDeploymentGroupsResponse.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .build();
    +
    +  private static final ApiMethodDescriptor
    +      provisionDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/ProvisionDeploymentGroup")
    +              .setHttpMethod("POST")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{name=projects/*/locations/*/deploymentGroups/*}:provision",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "name", request.getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(
    +                          request ->
    +                              ProtoRestSerializer.create()
    +                                  .toBody("*", request.toBuilder().clearName().build(), true))
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(Operation.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .setOperationSnapshotFactory(
    +                  (ProvisionDeploymentGroupRequest request, Operation response) ->
    +                      HttpJsonOperationSnapshot.create(response))
    +              .build();
    +
    +  private static final ApiMethodDescriptor
    +      deprovisionDeploymentGroupMethodDescriptor =
    +          ApiMethodDescriptor.newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/DeprovisionDeploymentGroup")
    +              .setHttpMethod("POST")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{name=projects/*/locations/*/deploymentGroups/*}:deprovision",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "name", request.getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(
    +                          request ->
    +                              ProtoRestSerializer.create()
    +                                  .toBody("*", request.toBuilder().clearName().build(), true))
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(Operation.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .setOperationSnapshotFactory(
    +                  (DeprovisionDeploymentGroupRequest request, Operation response) ->
    +                      HttpJsonOperationSnapshot.create(response))
    +              .build();
    +
    +  private static final ApiMethodDescriptor<
    +          GetDeploymentGroupRevisionRequest, DeploymentGroupRevision>
    +      getDeploymentGroupRevisionMethodDescriptor =
    +          ApiMethodDescriptor
    +              .newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/GetDeploymentGroupRevision")
    +              .setHttpMethod("GET")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{name=projects/*/locations/*/deploymentGroups/*/revisions/*}",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "name", request.getName());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(request -> null)
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(DeploymentGroupRevision.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .build();
    +
    +  private static final ApiMethodDescriptor<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse>
    +      listDeploymentGroupRevisionsMethodDescriptor =
    +          ApiMethodDescriptor
    +              .
    +                  newBuilder()
    +              .setFullMethodName("google.cloud.config.v1.Config/ListDeploymentGroupRevisions")
    +              .setHttpMethod("GET")
    +              .setType(ApiMethodDescriptor.MethodType.UNARY)
    +              .setRequestFormatter(
    +                  ProtoMessageRequestFormatter.newBuilder()
    +                      .setPath(
    +                          "/v1/{parent=projects/*/locations/*/deploymentGroups/*}/revisions",
    +                          request -> {
    +                            Map fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putPathParam(fields, "parent", request.getParent());
    +                            return fields;
    +                          })
    +                      .setQueryParamsExtractor(
    +                          request -> {
    +                            Map> fields = new HashMap<>();
    +                            ProtoRestSerializer serializer =
    +                                ProtoRestSerializer.create();
    +                            serializer.putQueryParam(fields, "pageSize", request.getPageSize());
    +                            serializer.putQueryParam(fields, "pageToken", request.getPageToken());
    +                            serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
    +                            return fields;
    +                          })
    +                      .setRequestBodyExtractor(request -> null)
    +                      .build())
    +              .setResponseParser(
    +                  ProtoMessageResponseParser.newBuilder()
    +                      .setDefaultInstance(ListDeploymentGroupRevisionsResponse.getDefaultInstance())
    +                      .setDefaultTypeRegistry(typeRegistry)
    +                      .build())
    +              .build();
    +
       private static final ApiMethodDescriptor
           listLocationsMethodDescriptor =
               ApiMethodDescriptor.newBuilder()
    @@ -1464,6 +1840,42 @@ public class HttpJsonConfigStub extends ConfigStub {
       private final OperationCallable<
               UpdateAutoMigrationConfigRequest, AutoMigrationConfig, OperationMetadata>
           updateAutoMigrationConfigOperationCallable;
    +  private final UnaryCallable
    +      getDeploymentGroupCallable;
    +  private final UnaryCallable
    +      createDeploymentGroupCallable;
    +  private final OperationCallable
    +      createDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      updateDeploymentGroupCallable;
    +  private final OperationCallable
    +      updateDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      deleteDeploymentGroupCallable;
    +  private final OperationCallable
    +      deleteDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      listDeploymentGroupsCallable;
    +  private final UnaryCallable
    +      listDeploymentGroupsPagedCallable;
    +  private final UnaryCallable
    +      provisionDeploymentGroupCallable;
    +  private final OperationCallable<
    +          ProvisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      provisionDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      deprovisionDeploymentGroupCallable;
    +  private final OperationCallable<
    +          DeprovisionDeploymentGroupRequest, DeploymentGroup, OperationMetadata>
    +      deprovisionDeploymentGroupOperationCallable;
    +  private final UnaryCallable
    +      getDeploymentGroupRevisionCallable;
    +  private final UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsResponse>
    +      listDeploymentGroupRevisionsCallable;
    +  private final UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsPagedCallable;
       private final UnaryCallable listLocationsCallable;
       private final UnaryCallable
           listLocationsPagedCallable;
    @@ -1904,6 +2316,128 @@ protected HttpJsonConfigStub(
                           return builder.build();
                         })
                     .build();
    +    HttpJsonCallSettings
    +        getDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(getDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    HttpJsonCallSettings
    +        createDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(createDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
    +    HttpJsonCallSettings
    +        updateDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(updateDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add(
    +                          "deployment_group.name",
    +                          String.valueOf(request.getDeploymentGroup().getName()));
    +                      return builder.build();
    +                    })
    +                .build();
    +    HttpJsonCallSettings
    +        deleteDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(deleteDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    HttpJsonCallSettings
    +        listDeploymentGroupsTransportSettings =
    +            HttpJsonCallSettings
    +                .newBuilder()
    +                .setMethodDescriptor(listDeploymentGroupsMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
    +    HttpJsonCallSettings
    +        provisionDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(provisionDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    HttpJsonCallSettings
    +        deprovisionDeploymentGroupTransportSettings =
    +            HttpJsonCallSettings.newBuilder()
    +                .setMethodDescriptor(deprovisionDeploymentGroupMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    HttpJsonCallSettings
    +        getDeploymentGroupRevisionTransportSettings =
    +            HttpJsonCallSettings
    +                .newBuilder()
    +                .setMethodDescriptor(getDeploymentGroupRevisionMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("name", String.valueOf(request.getName()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getName())
    +                .build();
    +    HttpJsonCallSettings
    +        listDeploymentGroupRevisionsTransportSettings =
    +            HttpJsonCallSettings
    +                .
    +                    newBuilder()
    +                .setMethodDescriptor(listDeploymentGroupRevisionsMethodDescriptor)
    +                .setTypeRegistry(typeRegistry)
    +                .setParamsExtractor(
    +                    request -> {
    +                      RequestParamsBuilder builder = RequestParamsBuilder.create();
    +                      builder.add("parent", String.valueOf(request.getParent()));
    +                      return builder.build();
    +                    })
    +                .setResourceNameExtractor(request -> request.getParent())
    +                .build();
         HttpJsonCallSettings
             listLocationsTransportSettings =
                 HttpJsonCallSettings.newBuilder()
    @@ -2147,6 +2681,91 @@ protected HttpJsonConfigStub(
                 settings.updateAutoMigrationConfigOperationSettings(),
                 clientContext,
                 httpJsonOperationsStub);
    +    this.getDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            getDeploymentGroupTransportSettings,
    +            settings.getDeploymentGroupSettings(),
    +            clientContext);
    +    this.createDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            createDeploymentGroupTransportSettings,
    +            settings.createDeploymentGroupSettings(),
    +            clientContext);
    +    this.createDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            createDeploymentGroupTransportSettings,
    +            settings.createDeploymentGroupOperationSettings(),
    +            clientContext,
    +            httpJsonOperationsStub);
    +    this.updateDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            updateDeploymentGroupTransportSettings,
    +            settings.updateDeploymentGroupSettings(),
    +            clientContext);
    +    this.updateDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            updateDeploymentGroupTransportSettings,
    +            settings.updateDeploymentGroupOperationSettings(),
    +            clientContext,
    +            httpJsonOperationsStub);
    +    this.deleteDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            deleteDeploymentGroupTransportSettings,
    +            settings.deleteDeploymentGroupSettings(),
    +            clientContext);
    +    this.deleteDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            deleteDeploymentGroupTransportSettings,
    +            settings.deleteDeploymentGroupOperationSettings(),
    +            clientContext,
    +            httpJsonOperationsStub);
    +    this.listDeploymentGroupsCallable =
    +        callableFactory.createUnaryCallable(
    +            listDeploymentGroupsTransportSettings,
    +            settings.listDeploymentGroupsSettings(),
    +            clientContext);
    +    this.listDeploymentGroupsPagedCallable =
    +        callableFactory.createPagedCallable(
    +            listDeploymentGroupsTransportSettings,
    +            settings.listDeploymentGroupsSettings(),
    +            clientContext);
    +    this.provisionDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            provisionDeploymentGroupTransportSettings,
    +            settings.provisionDeploymentGroupSettings(),
    +            clientContext);
    +    this.provisionDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            provisionDeploymentGroupTransportSettings,
    +            settings.provisionDeploymentGroupOperationSettings(),
    +            clientContext,
    +            httpJsonOperationsStub);
    +    this.deprovisionDeploymentGroupCallable =
    +        callableFactory.createUnaryCallable(
    +            deprovisionDeploymentGroupTransportSettings,
    +            settings.deprovisionDeploymentGroupSettings(),
    +            clientContext);
    +    this.deprovisionDeploymentGroupOperationCallable =
    +        callableFactory.createOperationCallable(
    +            deprovisionDeploymentGroupTransportSettings,
    +            settings.deprovisionDeploymentGroupOperationSettings(),
    +            clientContext,
    +            httpJsonOperationsStub);
    +    this.getDeploymentGroupRevisionCallable =
    +        callableFactory.createUnaryCallable(
    +            getDeploymentGroupRevisionTransportSettings,
    +            settings.getDeploymentGroupRevisionSettings(),
    +            clientContext);
    +    this.listDeploymentGroupRevisionsCallable =
    +        callableFactory.createUnaryCallable(
    +            listDeploymentGroupRevisionsTransportSettings,
    +            settings.listDeploymentGroupRevisionsSettings(),
    +            clientContext);
    +    this.listDeploymentGroupRevisionsPagedCallable =
    +        callableFactory.createPagedCallable(
    +            listDeploymentGroupRevisionsTransportSettings,
    +            settings.listDeploymentGroupRevisionsSettings(),
    +            clientContext);
         this.listLocationsCallable =
             callableFactory.createUnaryCallable(
                 listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
    @@ -2204,6 +2823,15 @@ public static List getMethodDescriptors() {
         methodDescriptors.add(getResourceDriftMethodDescriptor);
         methodDescriptors.add(getAutoMigrationConfigMethodDescriptor);
         methodDescriptors.add(updateAutoMigrationConfigMethodDescriptor);
    +    methodDescriptors.add(getDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(createDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(updateDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(deleteDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(listDeploymentGroupsMethodDescriptor);
    +    methodDescriptors.add(provisionDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(deprovisionDeploymentGroupMethodDescriptor);
    +    methodDescriptors.add(getDeploymentGroupRevisionMethodDescriptor);
    +    methodDescriptors.add(listDeploymentGroupRevisionsMethodDescriptor);
         methodDescriptors.add(listLocationsMethodDescriptor);
         methodDescriptors.add(getLocationMethodDescriptor);
         methodDescriptors.add(setIamPolicyMethodDescriptor);
    @@ -2458,6 +3086,99 @@ public UnaryCallable getResourceDriftCal
         return updateAutoMigrationConfigOperationCallable;
       }
     
    +  @Override
    +  public UnaryCallable getDeploymentGroupCallable() {
    +    return getDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable createDeploymentGroupCallable() {
    +    return createDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      createDeploymentGroupOperationCallable() {
    +    return createDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable updateDeploymentGroupCallable() {
    +    return updateDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      updateDeploymentGroupOperationCallable() {
    +    return updateDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable deleteDeploymentGroupCallable() {
    +    return deleteDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      deleteDeploymentGroupOperationCallable() {
    +    return deleteDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupsCallable() {
    +    return listDeploymentGroupsCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupsPagedCallable() {
    +    return listDeploymentGroupsPagedCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      provisionDeploymentGroupCallable() {
    +    return provisionDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      provisionDeploymentGroupOperationCallable() {
    +    return provisionDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      deprovisionDeploymentGroupCallable() {
    +    return deprovisionDeploymentGroupCallable;
    +  }
    +
    +  @Override
    +  public OperationCallable
    +      deprovisionDeploymentGroupOperationCallable() {
    +    return deprovisionDeploymentGroupOperationCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      getDeploymentGroupRevisionCallable() {
    +    return getDeploymentGroupRevisionCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable
    +      listDeploymentGroupRevisionsCallable() {
    +    return listDeploymentGroupRevisionsCallable;
    +  }
    +
    +  @Override
    +  public UnaryCallable<
    +          ListDeploymentGroupRevisionsRequest, ListDeploymentGroupRevisionsPagedResponse>
    +      listDeploymentGroupRevisionsPagedCallable() {
    +    return listDeploymentGroupRevisionsPagedCallable;
    +  }
    +
       @Override
       public UnaryCallable listLocationsCallable() {
         return listLocationsCallable;
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/Version.java b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/Version.java
    index 44bf71113d27..87489d29a427 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/Version.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/Version.java
    @@ -21,7 +21,7 @@
     @InternalApi("For internal use only")
     final class Version {
       // {x-version-update-start:google-cloud-infra-manager:current}
    -  static final String VERSION = "0.66.0";
    +  static final String VERSION = "0.0.0-SNAPSHOT";
       // {x-version-update-end}
     
     }
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json b/java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json
    index 86695408dfd3..7a03364e1f31 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json
    +++ b/java-infra-manager/google-cloud-infra-manager/src/main/resources/META-INF/native-image/com.google.cloud.config.v1/reflect-config.json
    @@ -557,6 +557,24 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.CreateDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.CreateDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.CreateDeploymentRequest",
         "queryAllDeclaredConstructors": true,
    @@ -593,6 +611,33 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.DeleteDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeleteDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeleteDeploymentGroupRequest$DeploymentReferencePolicy",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.DeleteDeploymentRequest",
         "queryAllDeclaredConstructors": true,
    @@ -701,6 +746,60 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroup",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroup$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroup$ProvisioningState",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroup$State",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroupRevision",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentGroupRevision$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.DeploymentOperationMetadata",
         "queryAllDeclaredConstructors": true,
    @@ -728,6 +827,132 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentOperationSummary",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentOperationSummary$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentSource",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentSource$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentSpec",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentSpec$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnit",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnit$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnitProgress",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnitProgress$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnitProgress$Intent",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeploymentUnitProgress$State",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.ExportDeploymentStatefileRequest",
         "queryAllDeclaredConstructors": true,
    @@ -818,6 +1043,24 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.ExternalValueSource",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ExternalValueSource$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.GetAutoMigrationConfigRequest",
         "queryAllDeclaredConstructors": true,
    @@ -836,6 +1079,42 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.GetDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.GetDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.GetDeploymentRequest",
         "queryAllDeclaredConstructors": true,
    @@ -998,6 +1277,78 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupsRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupsRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupsResponse",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ListDeploymentGroupsResponse$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.ListDeploymentsRequest",
         "queryAllDeclaredConstructors": true,
    @@ -1475,6 +1826,51 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata$ProvisionDeploymentGroupStep",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ProvisionDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.ProvisionDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.QuotaValidation",
         "queryAllDeclaredConstructors": true,
    @@ -1835,6 +2231,24 @@
         "allDeclaredClasses": true,
         "allPublicClasses": true
       },
    +  {
    +    "name": "com.google.cloud.config.v1.UpdateDeploymentGroupRequest",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
    +  {
    +    "name": "com.google.cloud.config.v1.UpdateDeploymentGroupRequest$Builder",
    +    "queryAllDeclaredConstructors": true,
    +    "queryAllPublicConstructors": true,
    +    "queryAllDeclaredMethods": true,
    +    "allPublicMethods": true,
    +    "allDeclaredClasses": true,
    +    "allPublicClasses": true
    +  },
       {
         "name": "com.google.cloud.config.v1.UpdateDeploymentRequest",
         "queryAllDeclaredConstructors": true,
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java
    index 854d7c0f60eb..6d0d68bf7c72 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientHttpJsonTest.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -3085,6 +3087,1002 @@ public void updateAutoMigrationConfigExceptionTest() throws Exception {
         }
       }
     
    +  @Test
    +  public void getDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.getDeploymentGroup(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.getDeploymentGroup(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    String name =
    +        "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +
    +    DeploymentGroup actualResponse = client.getDeploymentGroup(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String name =
    +          "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +      client.getDeploymentGroup(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("createDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +    DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +    String deploymentGroupId = "deploymentGroupId717062517";
    +
    +    DeploymentGroup actualResponse =
    +        client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +      DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +      String deploymentGroupId = "deploymentGroupId717062517";
    +      client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("createDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    String parent = "projects/project-5833/locations/location-5833";
    +    DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +    String deploymentGroupId = "deploymentGroupId717062517";
    +
    +    DeploymentGroup actualResponse =
    +        client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String parent = "projects/project-5833/locations/location-5833";
    +      DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +      String deploymentGroupId = "deploymentGroupId717062517";
    +      client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void updateDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("updateDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    DeploymentGroup deploymentGroup =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    FieldMask updateMask = FieldMask.newBuilder().build();
    +
    +    DeploymentGroup actualResponse =
    +        client.updateDeploymentGroupAsync(deploymentGroup, updateMask).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void updateDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroup deploymentGroup =
    +          DeploymentGroup.newBuilder()
    +              .setName(
    +                  DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]")
    +                      .toString())
    +              .setCreateTime(Timestamp.newBuilder().build())
    +              .setUpdateTime(Timestamp.newBuilder().build())
    +              .putAllLabels(new HashMap())
    +              .putAllAnnotations(new HashMap())
    +              .setStateDescription("stateDescription-1173318997")
    +              .addAllDeploymentUnits(new ArrayList())
    +              .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +              .setProvisioningError(Status.newBuilder().build())
    +              .build();
    +      FieldMask updateMask = FieldMask.newBuilder().build();
    +      client.updateDeploymentGroupAsync(deploymentGroup, updateMask).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deleteDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.deleteDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.deleteDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deleteDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    String name =
    +        "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +
    +    DeploymentGroup actualResponse = client.deleteDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String name =
    +          "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +      client.deleteDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsTest() throws Exception {
    +    DeploymentGroup responsesElement = DeploymentGroup.newBuilder().build();
    +    ListDeploymentGroupsResponse expectedResponse =
    +        ListDeploymentGroupsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroups(Arrays.asList(responsesElement))
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +
    +    ListDeploymentGroupsPagedResponse pagedListResponse = client.listDeploymentGroups(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(expectedResponse.getDeploymentGroupsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +      client.listDeploymentGroups(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsTest2() throws Exception {
    +    DeploymentGroup responsesElement = DeploymentGroup.newBuilder().build();
    +    ListDeploymentGroupsResponse expectedResponse =
    +        ListDeploymentGroupsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroups(Arrays.asList(responsesElement))
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    String parent = "projects/project-5833/locations/location-5833";
    +
    +    ListDeploymentGroupsPagedResponse pagedListResponse = client.listDeploymentGroups(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(expectedResponse.getDeploymentGroupsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String parent = "projects/project-5833/locations/location-5833";
    +      client.listDeploymentGroups(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("provisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.provisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.provisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("provisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    String name =
    +        "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +
    +    DeploymentGroup actualResponse = client.provisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String name =
    +          "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +      client.provisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deprovisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.deprovisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.deprovisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deprovisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockService.addResponse(resultOperation);
    +
    +    String name =
    +        "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +
    +    DeploymentGroup actualResponse = client.deprovisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String name =
    +          "projects/project-9255/locations/location-9255/deploymentGroups/deploymentGroup-9255";
    +      client.deprovisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionTest() throws Exception {
    +    DeploymentGroupRevision expectedResponse =
    +        DeploymentGroupRevision.newBuilder()
    +            .setName(
    +                DeploymentGroupRevisionName.of(
    +                        "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +                    .toString())
    +            .setSnapshot(DeploymentGroup.newBuilder().build())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .addAllAlternativeIds(new ArrayList())
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    DeploymentGroupRevisionName name =
    +        DeploymentGroupRevisionName.of(
    +            "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    +
    +    DeploymentGroupRevision actualResponse = client.getDeploymentGroupRevision(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupRevisionName name =
    +          DeploymentGroupRevisionName.of(
    +              "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    +      client.getDeploymentGroupRevision(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionTest2() throws Exception {
    +    DeploymentGroupRevision expectedResponse =
    +        DeploymentGroupRevision.newBuilder()
    +            .setName(
    +                DeploymentGroupRevisionName.of(
    +                        "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +                    .toString())
    +            .setSnapshot(DeploymentGroup.newBuilder().build())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .addAllAlternativeIds(new ArrayList())
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    String name =
    +        "projects/project-4461/locations/location-4461/deploymentGroups/deploymentGroup-4461/revisions/revision-4461";
    +
    +    DeploymentGroupRevision actualResponse = client.getDeploymentGroupRevision(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String name =
    +          "projects/project-4461/locations/location-4461/deploymentGroups/deploymentGroup-4461/revisions/revision-4461";
    +      client.getDeploymentGroupRevision(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsTest() throws Exception {
    +    DeploymentGroupRevision responsesElement = DeploymentGroupRevision.newBuilder().build();
    +    ListDeploymentGroupRevisionsResponse expectedResponse =
    +        ListDeploymentGroupRevisionsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroupRevisions(Arrays.asList(responsesElement))
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    DeploymentGroupName parent =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    ListDeploymentGroupRevisionsPagedResponse pagedListResponse =
    +        client.listDeploymentGroupRevisions(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(
    +        expectedResponse.getDeploymentGroupRevisionsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsExceptionTest() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      DeploymentGroupName parent =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.listDeploymentGroupRevisions(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsTest2() throws Exception {
    +    DeploymentGroupRevision responsesElement = DeploymentGroupRevision.newBuilder().build();
    +    ListDeploymentGroupRevisionsResponse expectedResponse =
    +        ListDeploymentGroupRevisionsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroupRevisions(Arrays.asList(responsesElement))
    +            .build();
    +    mockService.addResponse(expectedResponse);
    +
    +    String parent =
    +        "projects/project-6074/locations/location-6074/deploymentGroups/deploymentGroup-6074";
    +
    +    ListDeploymentGroupRevisionsPagedResponse pagedListResponse =
    +        client.listDeploymentGroupRevisions(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(
    +        expectedResponse.getDeploymentGroupRevisionsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockService.getRequestPaths();
    +    Assert.assertEquals(1, actualRequests.size());
    +
    +    String apiClientHeaderKey =
    +        mockService
    +            .getRequestHeaders()
    +            .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey())
    +            .iterator()
    +            .next();
    +    Assert.assertTrue(
    +        GaxHttpJsonProperties.getDefaultApiClientHeaderPattern()
    +            .matcher(apiClientHeaderKey)
    +            .matches());
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsExceptionTest2() throws Exception {
    +    ApiException exception =
    +        ApiExceptionFactory.createException(
    +            new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false);
    +    mockService.addException(exception);
    +
    +    try {
    +      String parent =
    +          "projects/project-6074/locations/location-6074/deploymentGroups/deploymentGroup-6074";
    +      client.listDeploymentGroupRevisions(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
       @Test
       public void listLocationsTest() throws Exception {
         Location responsesElement = Location.newBuilder().build();
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java
    index 397b50d1d59c..b9de1000853f 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/ConfigClientTest.java
    @@ -16,6 +16,8 @@
     
     package com.google.cloud.config.v1;
     
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupRevisionsPagedResponse;
    +import static com.google.cloud.config.v1.ConfigClient.ListDeploymentGroupsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
     import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
    @@ -2773,6 +2775,910 @@ public void updateAutoMigrationConfigExceptionTest() throws Exception {
         }
       }
     
    +  @Test
    +  public void getDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.getDeploymentGroup(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    GetDeploymentGroupRequest actualRequest = ((GetDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name.toString(), actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.getDeploymentGroup(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    String name = "name3373707";
    +
    +    DeploymentGroup actualResponse = client.getDeploymentGroup(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    GetDeploymentGroupRequest actualRequest = ((GetDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name, actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String name = "name3373707";
    +      client.getDeploymentGroup(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("createDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +    DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +    String deploymentGroupId = "deploymentGroupId717062517";
    +
    +    DeploymentGroup actualResponse =
    +        client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    CreateDeploymentGroupRequest actualRequest =
    +        ((CreateDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent.toString(), actualRequest.getParent());
    +    Assert.assertEquals(deploymentGroup, actualRequest.getDeploymentGroup());
    +    Assert.assertEquals(deploymentGroupId, actualRequest.getDeploymentGroupId());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +      DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +      String deploymentGroupId = "deploymentGroupId717062517";
    +      client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("createDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    String parent = "parent-995424086";
    +    DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +    String deploymentGroupId = "deploymentGroupId717062517";
    +
    +    DeploymentGroup actualResponse =
    +        client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    CreateDeploymentGroupRequest actualRequest =
    +        ((CreateDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent, actualRequest.getParent());
    +    Assert.assertEquals(deploymentGroup, actualRequest.getDeploymentGroup());
    +    Assert.assertEquals(deploymentGroupId, actualRequest.getDeploymentGroupId());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void createDeploymentGroupExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String parent = "parent-995424086";
    +      DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +      String deploymentGroupId = "deploymentGroupId717062517";
    +      client.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void updateDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("updateDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +    FieldMask updateMask = FieldMask.newBuilder().build();
    +
    +    DeploymentGroup actualResponse =
    +        client.updateDeploymentGroupAsync(deploymentGroup, updateMask).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    UpdateDeploymentGroupRequest actualRequest =
    +        ((UpdateDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(deploymentGroup, actualRequest.getDeploymentGroup());
    +    Assert.assertEquals(updateMask, actualRequest.getUpdateMask());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void updateDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build();
    +      FieldMask updateMask = FieldMask.newBuilder().build();
    +      client.updateDeploymentGroupAsync(deploymentGroup, updateMask).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deleteDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.deleteDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    DeleteDeploymentGroupRequest actualRequest =
    +        ((DeleteDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name.toString(), actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.deleteDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deleteDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    String name = "name3373707";
    +
    +    DeploymentGroup actualResponse = client.deleteDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    DeleteDeploymentGroupRequest actualRequest =
    +        ((DeleteDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name, actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void deleteDeploymentGroupExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String name = "name3373707";
    +      client.deleteDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsTest() throws Exception {
    +    DeploymentGroup responsesElement = DeploymentGroup.newBuilder().build();
    +    ListDeploymentGroupsResponse expectedResponse =
    +        ListDeploymentGroupsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroups(Arrays.asList(responsesElement))
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +
    +    ListDeploymentGroupsPagedResponse pagedListResponse = client.listDeploymentGroups(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(expectedResponse.getDeploymentGroupsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ListDeploymentGroupsRequest actualRequest =
    +        ((ListDeploymentGroupsRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent.toString(), actualRequest.getParent());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    +      client.listDeploymentGroups(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsTest2() throws Exception {
    +    DeploymentGroup responsesElement = DeploymentGroup.newBuilder().build();
    +    ListDeploymentGroupsResponse expectedResponse =
    +        ListDeploymentGroupsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroups(Arrays.asList(responsesElement))
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    String parent = "parent-995424086";
    +
    +    ListDeploymentGroupsPagedResponse pagedListResponse = client.listDeploymentGroups(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(expectedResponse.getDeploymentGroupsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ListDeploymentGroupsRequest actualRequest =
    +        ((ListDeploymentGroupsRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent, actualRequest.getParent());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupsExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String parent = "parent-995424086";
    +      client.listDeploymentGroups(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("provisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.provisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ProvisionDeploymentGroupRequest actualRequest =
    +        ((ProvisionDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name.toString(), actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.provisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("provisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    String name = "name3373707";
    +
    +    DeploymentGroup actualResponse = client.provisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ProvisionDeploymentGroupRequest actualRequest =
    +        ((ProvisionDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name, actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void provisionDeploymentGroupExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String name = "name3373707";
    +      client.provisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupTest() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deprovisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    DeploymentGroupName name =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    DeploymentGroup actualResponse = client.deprovisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    DeprovisionDeploymentGroupRequest actualRequest =
    +        ((DeprovisionDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name.toString(), actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupName name =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.deprovisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupTest2() throws Exception {
    +    DeploymentGroup expectedResponse =
    +        DeploymentGroup.newBuilder()
    +            .setName(
    +                DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .setUpdateTime(Timestamp.newBuilder().build())
    +            .putAllLabels(new HashMap())
    +            .putAllAnnotations(new HashMap())
    +            .setStateDescription("stateDescription-1173318997")
    +            .addAllDeploymentUnits(new ArrayList())
    +            .setProvisioningStateDescription("provisioningStateDescription1181429688")
    +            .setProvisioningError(Status.newBuilder().build())
    +            .build();
    +    Operation resultOperation =
    +        Operation.newBuilder()
    +            .setName("deprovisionDeploymentGroupTest")
    +            .setDone(true)
    +            .setResponse(Any.pack(expectedResponse))
    +            .build();
    +    mockConfig.addResponse(resultOperation);
    +
    +    String name = "name3373707";
    +
    +    DeploymentGroup actualResponse = client.deprovisionDeploymentGroupAsync(name).get();
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    DeprovisionDeploymentGroupRequest actualRequest =
    +        ((DeprovisionDeploymentGroupRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name, actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void deprovisionDeploymentGroupExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String name = "name3373707";
    +      client.deprovisionDeploymentGroupAsync(name).get();
    +      Assert.fail("No exception raised");
    +    } catch (ExecutionException e) {
    +      Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass());
    +      InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause());
    +      Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode());
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionTest() throws Exception {
    +    DeploymentGroupRevision expectedResponse =
    +        DeploymentGroupRevision.newBuilder()
    +            .setName(
    +                DeploymentGroupRevisionName.of(
    +                        "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +                    .toString())
    +            .setSnapshot(DeploymentGroup.newBuilder().build())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .addAllAlternativeIds(new ArrayList())
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    DeploymentGroupRevisionName name =
    +        DeploymentGroupRevisionName.of(
    +            "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    +
    +    DeploymentGroupRevision actualResponse = client.getDeploymentGroupRevision(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    GetDeploymentGroupRevisionRequest actualRequest =
    +        ((GetDeploymentGroupRevisionRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name.toString(), actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupRevisionName name =
    +          DeploymentGroupRevisionName.of(
    +              "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]");
    +      client.getDeploymentGroupRevision(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionTest2() throws Exception {
    +    DeploymentGroupRevision expectedResponse =
    +        DeploymentGroupRevision.newBuilder()
    +            .setName(
    +                DeploymentGroupRevisionName.of(
    +                        "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]")
    +                    .toString())
    +            .setSnapshot(DeploymentGroup.newBuilder().build())
    +            .setCreateTime(Timestamp.newBuilder().build())
    +            .addAllAlternativeIds(new ArrayList())
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    String name = "name3373707";
    +
    +    DeploymentGroupRevision actualResponse = client.getDeploymentGroupRevision(name);
    +    Assert.assertEquals(expectedResponse, actualResponse);
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    GetDeploymentGroupRevisionRequest actualRequest =
    +        ((GetDeploymentGroupRevisionRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(name, actualRequest.getName());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void getDeploymentGroupRevisionExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String name = "name3373707";
    +      client.getDeploymentGroupRevision(name);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsTest() throws Exception {
    +    DeploymentGroupRevision responsesElement = DeploymentGroupRevision.newBuilder().build();
    +    ListDeploymentGroupRevisionsResponse expectedResponse =
    +        ListDeploymentGroupRevisionsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroupRevisions(Arrays.asList(responsesElement))
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    DeploymentGroupName parent =
    +        DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +
    +    ListDeploymentGroupRevisionsPagedResponse pagedListResponse =
    +        client.listDeploymentGroupRevisions(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(
    +        expectedResponse.getDeploymentGroupRevisionsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ListDeploymentGroupRevisionsRequest actualRequest =
    +        ((ListDeploymentGroupRevisionsRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent.toString(), actualRequest.getParent());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsExceptionTest() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      DeploymentGroupName parent =
    +          DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]");
    +      client.listDeploymentGroupRevisions(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsTest2() throws Exception {
    +    DeploymentGroupRevision responsesElement = DeploymentGroupRevision.newBuilder().build();
    +    ListDeploymentGroupRevisionsResponse expectedResponse =
    +        ListDeploymentGroupRevisionsResponse.newBuilder()
    +            .setNextPageToken("")
    +            .addAllDeploymentGroupRevisions(Arrays.asList(responsesElement))
    +            .build();
    +    mockConfig.addResponse(expectedResponse);
    +
    +    String parent = "parent-995424086";
    +
    +    ListDeploymentGroupRevisionsPagedResponse pagedListResponse =
    +        client.listDeploymentGroupRevisions(parent);
    +
    +    List resources = Lists.newArrayList(pagedListResponse.iterateAll());
    +
    +    Assert.assertEquals(1, resources.size());
    +    Assert.assertEquals(
    +        expectedResponse.getDeploymentGroupRevisionsList().get(0), resources.get(0));
    +
    +    List actualRequests = mockConfig.getRequests();
    +    Assert.assertEquals(1, actualRequests.size());
    +    ListDeploymentGroupRevisionsRequest actualRequest =
    +        ((ListDeploymentGroupRevisionsRequest) actualRequests.get(0));
    +
    +    Assert.assertEquals(parent, actualRequest.getParent());
    +    Assert.assertTrue(
    +        channelProvider.isHeaderSent(
    +            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    +            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
    +  }
    +
    +  @Test
    +  public void listDeploymentGroupRevisionsExceptionTest2() throws Exception {
    +    StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT);
    +    mockConfig.addException(exception);
    +
    +    try {
    +      String parent = "parent-995424086";
    +      client.listDeploymentGroupRevisions(parent);
    +      Assert.fail("No exception raised");
    +    } catch (InvalidArgumentException e) {
    +      // Expected exception.
    +    }
    +  }
    +
       @Test
       public void listLocationsTest() throws Exception {
         Location responsesElement = Location.newBuilder().build();
    diff --git a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java
    index 67021d715ca6..4ba924e7aea3 100644
    --- a/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java
    +++ b/java-infra-manager/google-cloud-infra-manager/src/test/java/com/google/cloud/config/v1/MockConfigImpl.java
    @@ -674,4 +674,204 @@ public void updateAutoMigrationConfig(
                       Exception.class.getName())));
         }
       }
    +
    +  @Override
    +  public void getDeploymentGroup(
    +      GetDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof DeploymentGroup) {
    +      requests.add(request);
    +      responseObserver.onNext(((DeploymentGroup) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method GetDeploymentGroup, expected %s or %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  DeploymentGroup.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void createDeploymentGroup(
    +      CreateDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof Operation) {
    +      requests.add(request);
    +      responseObserver.onNext(((Operation) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method CreateDeploymentGroup, expected %s or"
    +                      + " %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  Operation.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void updateDeploymentGroup(
    +      UpdateDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof Operation) {
    +      requests.add(request);
    +      responseObserver.onNext(((Operation) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method UpdateDeploymentGroup, expected %s or"
    +                      + " %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  Operation.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void deleteDeploymentGroup(
    +      DeleteDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof Operation) {
    +      requests.add(request);
    +      responseObserver.onNext(((Operation) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method DeleteDeploymentGroup, expected %s or"
    +                      + " %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  Operation.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void listDeploymentGroups(
    +      ListDeploymentGroupsRequest request,
    +      StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof ListDeploymentGroupsResponse) {
    +      requests.add(request);
    +      responseObserver.onNext(((ListDeploymentGroupsResponse) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method ListDeploymentGroups, expected %s or"
    +                      + " %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  ListDeploymentGroupsResponse.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void provisionDeploymentGroup(
    +      ProvisionDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof Operation) {
    +      requests.add(request);
    +      responseObserver.onNext(((Operation) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method ProvisionDeploymentGroup, expected %s"
    +                      + " or %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  Operation.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void deprovisionDeploymentGroup(
    +      DeprovisionDeploymentGroupRequest request, StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof Operation) {
    +      requests.add(request);
    +      responseObserver.onNext(((Operation) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method DeprovisionDeploymentGroup, expected %s"
    +                      + " or %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  Operation.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void getDeploymentGroupRevision(
    +      GetDeploymentGroupRevisionRequest request,
    +      StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof DeploymentGroupRevision) {
    +      requests.add(request);
    +      responseObserver.onNext(((DeploymentGroupRevision) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method GetDeploymentGroupRevision, expected %s"
    +                      + " or %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  DeploymentGroupRevision.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
    +
    +  @Override
    +  public void listDeploymentGroupRevisions(
    +      ListDeploymentGroupRevisionsRequest request,
    +      StreamObserver responseObserver) {
    +    Object response = responses.poll();
    +    if (response instanceof ListDeploymentGroupRevisionsResponse) {
    +      requests.add(request);
    +      responseObserver.onNext(((ListDeploymentGroupRevisionsResponse) response));
    +      responseObserver.onCompleted();
    +    } else if (response instanceof Exception) {
    +      responseObserver.onError(((Exception) response));
    +    } else {
    +      responseObserver.onError(
    +          new IllegalArgumentException(
    +              String.format(
    +                  "Unrecognized response type %s for method ListDeploymentGroupRevisions, expected"
    +                      + " %s or %s",
    +                  response == null ? "null" : response.getClass().getName(),
    +                  ListDeploymentGroupRevisionsResponse.class.getName(),
    +                  Exception.class.getName())));
    +    }
    +  }
     }
    diff --git a/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java b/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java
    index 1350c08b793c..ba1dda7b6d04 100644
    --- a/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java
    +++ b/java-infra-manager/grpc-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigGrpc.java
    @@ -1316,6 +1316,433 @@ private ConfigGrpc() {}
         return getUpdateAutoMigrationConfigMethod;
       }
     
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.GetDeploymentGroupRequest,
    +          com.google.cloud.config.v1.DeploymentGroup>
    +      getGetDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "GetDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.GetDeploymentGroupRequest.class,
    +      responseType = com.google.cloud.config.v1.DeploymentGroup.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.GetDeploymentGroupRequest,
    +          com.google.cloud.config.v1.DeploymentGroup>
    +      getGetDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.GetDeploymentGroupRequest,
    +            com.google.cloud.config.v1.DeploymentGroup>
    +        getGetDeploymentGroupMethod;
    +    if ((getGetDeploymentGroupMethod = ConfigGrpc.getGetDeploymentGroupMethod) == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getGetDeploymentGroupMethod = ConfigGrpc.getGetDeploymentGroupMethod) == null) {
    +          ConfigGrpc.getGetDeploymentGroupMethod =
    +              getGetDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.GetDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()))
    +                      .setSchemaDescriptor(new ConfigMethodDescriptorSupplier("GetDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getGetDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.CreateDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getCreateDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "CreateDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.CreateDeploymentGroupRequest.class,
    +      responseType = com.google.longrunning.Operation.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.CreateDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getCreateDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.CreateDeploymentGroupRequest,
    +            com.google.longrunning.Operation>
    +        getCreateDeploymentGroupMethod;
    +    if ((getCreateDeploymentGroupMethod = ConfigGrpc.getCreateDeploymentGroupMethod) == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getCreateDeploymentGroupMethod = ConfigGrpc.getCreateDeploymentGroupMethod) == null) {
    +          ConfigGrpc.getCreateDeploymentGroupMethod =
    +              getCreateDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "CreateDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.CreateDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.longrunning.Operation.getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("CreateDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getCreateDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.UpdateDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getUpdateDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "UpdateDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.UpdateDeploymentGroupRequest.class,
    +      responseType = com.google.longrunning.Operation.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.UpdateDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getUpdateDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.UpdateDeploymentGroupRequest,
    +            com.google.longrunning.Operation>
    +        getUpdateDeploymentGroupMethod;
    +    if ((getUpdateDeploymentGroupMethod = ConfigGrpc.getUpdateDeploymentGroupMethod) == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getUpdateDeploymentGroupMethod = ConfigGrpc.getUpdateDeploymentGroupMethod) == null) {
    +          ConfigGrpc.getUpdateDeploymentGroupMethod =
    +              getUpdateDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "UpdateDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.UpdateDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.longrunning.Operation.getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("UpdateDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getUpdateDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.DeleteDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getDeleteDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "DeleteDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.DeleteDeploymentGroupRequest.class,
    +      responseType = com.google.longrunning.Operation.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.DeleteDeploymentGroupRequest, com.google.longrunning.Operation>
    +      getDeleteDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.DeleteDeploymentGroupRequest,
    +            com.google.longrunning.Operation>
    +        getDeleteDeploymentGroupMethod;
    +    if ((getDeleteDeploymentGroupMethod = ConfigGrpc.getDeleteDeploymentGroupMethod) == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getDeleteDeploymentGroupMethod = ConfigGrpc.getDeleteDeploymentGroupMethod) == null) {
    +          ConfigGrpc.getDeleteDeploymentGroupMethod =
    +              getDeleteDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "DeleteDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.DeleteDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.longrunning.Operation.getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("DeleteDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getDeleteDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ListDeploymentGroupsRequest,
    +          com.google.cloud.config.v1.ListDeploymentGroupsResponse>
    +      getListDeploymentGroupsMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "ListDeploymentGroups",
    +      requestType = com.google.cloud.config.v1.ListDeploymentGroupsRequest.class,
    +      responseType = com.google.cloud.config.v1.ListDeploymentGroupsResponse.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ListDeploymentGroupsRequest,
    +          com.google.cloud.config.v1.ListDeploymentGroupsResponse>
    +      getListDeploymentGroupsMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.ListDeploymentGroupsRequest,
    +            com.google.cloud.config.v1.ListDeploymentGroupsResponse>
    +        getListDeploymentGroupsMethod;
    +    if ((getListDeploymentGroupsMethod = ConfigGrpc.getListDeploymentGroupsMethod) == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getListDeploymentGroupsMethod = ConfigGrpc.getListDeploymentGroupsMethod) == null) {
    +          ConfigGrpc.getListDeploymentGroupsMethod =
    +              getListDeploymentGroupsMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "ListDeploymentGroups"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.ListDeploymentGroupsRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.ListDeploymentGroupsResponse
    +                                  .getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("ListDeploymentGroups"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getListDeploymentGroupsMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ProvisionDeploymentGroupRequest,
    +          com.google.longrunning.Operation>
    +      getProvisionDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "ProvisionDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.class,
    +      responseType = com.google.longrunning.Operation.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ProvisionDeploymentGroupRequest,
    +          com.google.longrunning.Operation>
    +      getProvisionDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.ProvisionDeploymentGroupRequest,
    +            com.google.longrunning.Operation>
    +        getProvisionDeploymentGroupMethod;
    +    if ((getProvisionDeploymentGroupMethod = ConfigGrpc.getProvisionDeploymentGroupMethod)
    +        == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getProvisionDeploymentGroupMethod = ConfigGrpc.getProvisionDeploymentGroupMethod)
    +            == null) {
    +          ConfigGrpc.getProvisionDeploymentGroupMethod =
    +              getProvisionDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "ProvisionDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.ProvisionDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.longrunning.Operation.getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("ProvisionDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getProvisionDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest,
    +          com.google.longrunning.Operation>
    +      getDeprovisionDeploymentGroupMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "DeprovisionDeploymentGroup",
    +      requestType = com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.class,
    +      responseType = com.google.longrunning.Operation.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest,
    +          com.google.longrunning.Operation>
    +      getDeprovisionDeploymentGroupMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest,
    +            com.google.longrunning.Operation>
    +        getDeprovisionDeploymentGroupMethod;
    +    if ((getDeprovisionDeploymentGroupMethod = ConfigGrpc.getDeprovisionDeploymentGroupMethod)
    +        == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getDeprovisionDeploymentGroupMethod = ConfigGrpc.getDeprovisionDeploymentGroupMethod)
    +            == null) {
    +          ConfigGrpc.getDeprovisionDeploymentGroupMethod =
    +              getDeprovisionDeploymentGroupMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "DeprovisionDeploymentGroup"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.longrunning.Operation.getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("DeprovisionDeploymentGroup"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getDeprovisionDeploymentGroupMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest,
    +          com.google.cloud.config.v1.DeploymentGroupRevision>
    +      getGetDeploymentGroupRevisionMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "GetDeploymentGroupRevision",
    +      requestType = com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.class,
    +      responseType = com.google.cloud.config.v1.DeploymentGroupRevision.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest,
    +          com.google.cloud.config.v1.DeploymentGroupRevision>
    +      getGetDeploymentGroupRevisionMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest,
    +            com.google.cloud.config.v1.DeploymentGroupRevision>
    +        getGetDeploymentGroupRevisionMethod;
    +    if ((getGetDeploymentGroupRevisionMethod = ConfigGrpc.getGetDeploymentGroupRevisionMethod)
    +        == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getGetDeploymentGroupRevisionMethod = ConfigGrpc.getGetDeploymentGroupRevisionMethod)
    +            == null) {
    +          ConfigGrpc.getGetDeploymentGroupRevisionMethod =
    +              getGetDeploymentGroupRevisionMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "GetDeploymentGroupRevision"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.DeploymentGroupRevision
    +                                  .getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("GetDeploymentGroupRevision"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getGetDeploymentGroupRevisionMethod;
    +  }
    +
    +  private static volatile io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest,
    +          com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse>
    +      getListDeploymentGroupRevisionsMethod;
    +
    +  @io.grpc.stub.annotations.RpcMethod(
    +      fullMethodName = SERVICE_NAME + '/' + "ListDeploymentGroupRevisions",
    +      requestType = com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.class,
    +      responseType = com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.class,
    +      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
    +  public static io.grpc.MethodDescriptor<
    +          com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest,
    +          com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse>
    +      getListDeploymentGroupRevisionsMethod() {
    +    io.grpc.MethodDescriptor<
    +            com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest,
    +            com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse>
    +        getListDeploymentGroupRevisionsMethod;
    +    if ((getListDeploymentGroupRevisionsMethod = ConfigGrpc.getListDeploymentGroupRevisionsMethod)
    +        == null) {
    +      synchronized (ConfigGrpc.class) {
    +        if ((getListDeploymentGroupRevisionsMethod =
    +                ConfigGrpc.getListDeploymentGroupRevisionsMethod)
    +            == null) {
    +          ConfigGrpc.getListDeploymentGroupRevisionsMethod =
    +              getListDeploymentGroupRevisionsMethod =
    +                  io.grpc.MethodDescriptor
    +                      .
    +                          newBuilder()
    +                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
    +                      .setFullMethodName(
    +                          generateFullMethodName(SERVICE_NAME, "ListDeploymentGroupRevisions"))
    +                      .setSampledToLocalTracing(true)
    +                      .setRequestMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest
    +                                  .getDefaultInstance()))
    +                      .setResponseMarshaller(
    +                          io.grpc.protobuf.ProtoUtils.marshaller(
    +                              com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse
    +                                  .getDefaultInstance()))
    +                      .setSchemaDescriptor(
    +                          new ConfigMethodDescriptorSupplier("ListDeploymentGroupRevisions"))
    +                      .build();
    +        }
    +      }
    +    }
    +    return getListDeploymentGroupRevisionsMethod;
    +  }
    +
       /** Creates a new async stub that supports all call types for the service */
       public static ConfigStub newStub(io.grpc.Channel channel) {
         io.grpc.stub.AbstractStub.StubFactory factory =
    @@ -1738,65 +2165,215 @@ default void getResourceChange(
             com.google.cloud.config.v1.GetResourceChangeRequest request,
             io.grpc.stub.StreamObserver responseObserver) {
           io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
    -          getGetResourceChangeMethod(), responseObserver);
    +          getGetResourceChangeMethod(), responseObserver);
    +    }
    +
    +    /**
    +     *
    +     *
    +     * 
    +     * List ResourceDrifts for a given preview.
    +     * 
    + */ + default void listResourceDrifts( + com.google.cloud.config.v1.ListResourceDriftsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListResourceDriftsMethod(), responseObserver); + } + + /** + * + * + *
    +     * Get a ResourceDrift for a given preview.
    +     * 
    + */ + default void getResourceDrift( + com.google.cloud.config.v1.GetResourceDriftRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetResourceDriftMethod(), responseObserver); + } + + /** + * + * + *
    +     * Get the AutoMigrationConfig for a given project and location.
    +     * 
    + */ + default void getAutoMigrationConfig( + com.google.cloud.config.v1.GetAutoMigrationConfigRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAutoMigrationConfigMethod(), responseObserver); + } + + /** + * + * + *
    +     * Updates the AutoMigrationConfig for a given project and location.
    +     * 
    + */ + default void updateAutoMigrationConfig( + com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAutoMigrationConfigMethod(), responseObserver); + } + + /** + * + * + *
    +     * Get a DeploymentGroup for a given project and location.
    +     * 
    + */ + default void getDeploymentGroup( + com.google.cloud.config.v1.GetDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDeploymentGroupMethod(), responseObserver); + } + + /** + * + * + *
    +     * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * The newly created DeploymentGroup will be in the `CREATING` state
    +     * and can be retrieved via Get and List calls.
    +     * 
    + */ + default void createDeploymentGroup( + com.google.cloud.config.v1.CreateDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDeploymentGroupMethod(), responseObserver); + } + + /** + * + * + *
    +     * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + default void updateDeploymentGroup( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDeploymentGroupMethod(), responseObserver); + } + + /** + * + * + *
    +     * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + default void deleteDeploymentGroup( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDeploymentGroupMethod(), responseObserver); + } + + /** + * + * + *
    +     * List DeploymentGroups for a given project and location.
    +     * 
    + */ + default void listDeploymentGroups( + com.google.cloud.config.v1.ListDeploymentGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDeploymentGroupsMethod(), responseObserver); } /** * * *
    -     * List ResourceDrifts for a given preview.
    +     * Provisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
          * 
    */ - default void listResourceDrifts( - com.google.cloud.config.v1.ListResourceDriftsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + default void provisionDeploymentGroup( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListResourceDriftsMethod(), responseObserver); + getProvisionDeploymentGroupMethod(), responseObserver); } /** * * *
    -     * Get a ResourceDrift for a given preview.
    +     * Deprovisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
          * 
    */ - default void getResourceDrift( - com.google.cloud.config.v1.GetResourceDriftRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void deprovisionDeploymentGroup( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetResourceDriftMethod(), responseObserver); + getDeprovisionDeploymentGroupMethod(), responseObserver); } /** * * *
    -     * Get the AutoMigrationConfig for a given project and location.
    +     * Gets details about a
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
          * 
    */ - default void getAutoMigrationConfig( - com.google.cloud.config.v1.GetAutoMigrationConfigRequest request, - io.grpc.stub.StreamObserver + default void getDeploymentGroupRevision( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAutoMigrationConfigMethod(), responseObserver); + getGetDeploymentGroupRevisionMethod(), responseObserver); } /** * * *
    -     * Updates the AutoMigrationConfig for a given project and location.
    +     * Lists
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
    +     * in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
          * 
    */ - default void updateAutoMigrationConfig( - com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { + default void listDeploymentGroupRevisions( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAutoMigrationConfigMethod(), responseObserver); + getListDeploymentGroupRevisionsMethod(), responseObserver); } } @@ -2310,6 +2887,174 @@ public void updateAutoMigrationConfig( request, responseObserver); } + + /** + * + * + *
    +     * Get a DeploymentGroup for a given project and location.
    +     * 
    + */ + public void getDeploymentGroup( + com.google.cloud.config.v1.GetDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * The newly created DeploymentGroup will be in the `CREATING` state
    +     * and can be retrieved via Get and List calls.
    +     * 
    + */ + public void createDeploymentGroup( + com.google.cloud.config.v1.CreateDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public void updateDeploymentGroup( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public void deleteDeploymentGroup( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * List DeploymentGroups for a given project and location.
    +     * 
    + */ + public void listDeploymentGroups( + com.google.cloud.config.v1.ListDeploymentGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeploymentGroupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Provisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public void provisionDeploymentGroup( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getProvisionDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Deprovisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public void deprovisionDeploymentGroup( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeprovisionDeploymentGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Gets details about a
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
    +     * 
    + */ + public void getDeploymentGroupRevision( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDeploymentGroupRevisionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
    +     * Lists
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
    +     * in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
    +     * 
    + */ + public void listDeploymentGroupRevisions( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDeploymentGroupRevisionsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -2619,109 +3364,257 @@ public com.google.cloud.config.v1.ExportPreviewResultResponse exportPreviewResul * given project and location. *
    */ - public com.google.cloud.config.v1.ListTerraformVersionsResponse listTerraformVersions( - com.google.cloud.config.v1.ListTerraformVersionsRequest request) + public com.google.cloud.config.v1.ListTerraformVersionsResponse listTerraformVersions( + com.google.cloud.config.v1.ListTerraformVersionsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListTerraformVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Gets details about a
    +     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
    +     * 
    + */ + public com.google.cloud.config.v1.TerraformVersion getTerraformVersion( + com.google.cloud.config.v1.GetTerraformVersionRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetTerraformVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Lists ResourceChanges for a given preview.
    +     * 
    + */ + public com.google.cloud.config.v1.ListResourceChangesResponse listResourceChanges( + com.google.cloud.config.v1.ListResourceChangesRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListResourceChangesMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Get a ResourceChange for a given preview.
    +     * 
    + */ + public com.google.cloud.config.v1.ResourceChange getResourceChange( + com.google.cloud.config.v1.GetResourceChangeRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetResourceChangeMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * List ResourceDrifts for a given preview.
    +     * 
    + */ + public com.google.cloud.config.v1.ListResourceDriftsResponse listResourceDrifts( + com.google.cloud.config.v1.ListResourceDriftsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getListResourceDriftsMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Get a ResourceDrift for a given preview.
    +     * 
    + */ + public com.google.cloud.config.v1.ResourceDrift getResourceDrift( + com.google.cloud.config.v1.GetResourceDriftRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetResourceDriftMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Get the AutoMigrationConfig for a given project and location.
    +     * 
    + */ + public com.google.cloud.config.v1.AutoMigrationConfig getAutoMigrationConfig( + com.google.cloud.config.v1.GetAutoMigrationConfigRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetAutoMigrationConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Updates the AutoMigrationConfig for a given project and location.
    +     * 
    + */ + public com.google.longrunning.Operation updateAutoMigrationConfig( + com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getUpdateAutoMigrationConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Get a DeploymentGroup for a given project and location.
    +     * 
    + */ + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup( + com.google.cloud.config.v1.GetDeploymentGroupRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getGetDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * The newly created DeploymentGroup will be in the `CREATING` state
    +     * and can be retrieved via Get and List calls.
    +     * 
    + */ + public com.google.longrunning.Operation createDeploymentGroup( + com.google.cloud.config.v1.CreateDeploymentGroupRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListTerraformVersionsMethod(), getCallOptions(), request); + getChannel(), getCreateDeploymentGroupMethod(), getCallOptions(), request); } /** * * *
    -     * Gets details about a
    -     * [TerraformVersion][google.cloud.config.v1.TerraformVersion].
    +     * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
          * 
    */ - public com.google.cloud.config.v1.TerraformVersion getTerraformVersion( - com.google.cloud.config.v1.GetTerraformVersionRequest request) + public com.google.longrunning.Operation updateDeploymentGroup( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetTerraformVersionMethod(), getCallOptions(), request); + getChannel(), getUpdateDeploymentGroupMethod(), getCallOptions(), request); } /** * * *
    -     * Lists ResourceChanges for a given preview.
    +     * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
          * 
    */ - public com.google.cloud.config.v1.ListResourceChangesResponse listResourceChanges( - com.google.cloud.config.v1.ListResourceChangesRequest request) + public com.google.longrunning.Operation deleteDeploymentGroup( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListResourceChangesMethod(), getCallOptions(), request); + getChannel(), getDeleteDeploymentGroupMethod(), getCallOptions(), request); } /** * * *
    -     * Get a ResourceChange for a given preview.
    +     * List DeploymentGroups for a given project and location.
          * 
    */ - public com.google.cloud.config.v1.ResourceChange getResourceChange( - com.google.cloud.config.v1.GetResourceChangeRequest request) + public com.google.cloud.config.v1.ListDeploymentGroupsResponse listDeploymentGroups( + com.google.cloud.config.v1.ListDeploymentGroupsRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetResourceChangeMethod(), getCallOptions(), request); + getChannel(), getListDeploymentGroupsMethod(), getCallOptions(), request); } /** * * *
    -     * List ResourceDrifts for a given preview.
    +     * Provisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
          * 
    */ - public com.google.cloud.config.v1.ListResourceDriftsResponse listResourceDrifts( - com.google.cloud.config.v1.ListResourceDriftsRequest request) + public com.google.longrunning.Operation provisionDeploymentGroup( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getListResourceDriftsMethod(), getCallOptions(), request); + getChannel(), getProvisionDeploymentGroupMethod(), getCallOptions(), request); } /** * * *
    -     * Get a ResourceDrift for a given preview.
    +     * Deprovisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
          * 
    */ - public com.google.cloud.config.v1.ResourceDrift getResourceDrift( - com.google.cloud.config.v1.GetResourceDriftRequest request) throws io.grpc.StatusException { + public com.google.longrunning.Operation deprovisionDeploymentGroup( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest request) + throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetResourceDriftMethod(), getCallOptions(), request); + getChannel(), getDeprovisionDeploymentGroupMethod(), getCallOptions(), request); } /** * * *
    -     * Get the AutoMigrationConfig for a given project and location.
    +     * Gets details about a
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
          * 
    */ - public com.google.cloud.config.v1.AutoMigrationConfig getAutoMigrationConfig( - com.google.cloud.config.v1.GetAutoMigrationConfigRequest request) + public com.google.cloud.config.v1.DeploymentGroupRevision getDeploymentGroupRevision( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest request) throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getGetAutoMigrationConfigMethod(), getCallOptions(), request); + getChannel(), getGetDeploymentGroupRevisionMethod(), getCallOptions(), request); } /** * * *
    -     * Updates the AutoMigrationConfig for a given project and location.
    +     * Lists
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
    +     * in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
          * 
    */ - public com.google.longrunning.Operation updateAutoMigrationConfig( - com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest request) - throws io.grpc.StatusException { + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + listDeploymentGroupRevisions( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest request) + throws io.grpc.StatusException { return io.grpc.stub.ClientCalls.blockingV2UnaryCall( - getChannel(), getUpdateAutoMigrationConfigMethod(), getCallOptions(), request); + getChannel(), getListDeploymentGroupRevisionsMethod(), getCallOptions(), request); } } @@ -3126,6 +4019,145 @@ public com.google.longrunning.Operation updateAutoMigrationConfig( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAutoMigrationConfigMethod(), getCallOptions(), request); } + + /** + * + * + *
    +     * Get a DeploymentGroup for a given project and location.
    +     * 
    + */ + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup( + com.google.cloud.config.v1.GetDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * The newly created DeploymentGroup will be in the `CREATING` state
    +     * and can be retrieved via Get and List calls.
    +     * 
    + */ + public com.google.longrunning.Operation createDeploymentGroup( + com.google.cloud.config.v1.CreateDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public com.google.longrunning.Operation updateDeploymentGroup( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public com.google.longrunning.Operation deleteDeploymentGroup( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * List DeploymentGroups for a given project and location.
    +     * 
    + */ + public com.google.cloud.config.v1.ListDeploymentGroupsResponse listDeploymentGroups( + com.google.cloud.config.v1.ListDeploymentGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeploymentGroupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Provisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public com.google.longrunning.Operation provisionDeploymentGroup( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getProvisionDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Deprovisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public com.google.longrunning.Operation deprovisionDeploymentGroup( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeprovisionDeploymentGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Gets details about a
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
    +     * 
    + */ + public com.google.cloud.config.v1.DeploymentGroupRevision getDeploymentGroupRevision( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDeploymentGroupRevisionMethod(), getCallOptions(), request); + } + + /** + * + * + *
    +     * Lists
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
    +     * in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
    +     * 
    + */ + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + listDeploymentGroupRevisions( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDeploymentGroupRevisionsMethod(), getCallOptions(), request); + } } /** @@ -3543,6 +4575,152 @@ protected ConfigFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAutoMigrationConfigMethod(), getCallOptions()), request); } + + /** + * + * + *
    +     * Get a DeploymentGroup for a given project and location.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.DeploymentGroup> + getDeploymentGroup(com.google.cloud.config.v1.GetDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * The newly created DeploymentGroup will be in the `CREATING` state
    +     * and can be retrieved via Get and List calls.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + createDeploymentGroup(com.google.cloud.config.v1.CreateDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + updateDeploymentGroup(com.google.cloud.config.v1.UpdateDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + deleteDeploymentGroup(com.google.cloud.config.v1.DeleteDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * List DeploymentGroups for a given project and location.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListDeploymentGroupsResponse> + listDeploymentGroups(com.google.cloud.config.v1.ListDeploymentGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeploymentGroupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Provisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + provisionDeploymentGroup( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getProvisionDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Deprovisions a deployment group.
    +     * NOTE: As a first step of this operation, Infra Manager will
    +     * automatically delete any Deployments that were part of the
    +     * *last successful*
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]
    +     * but are *no longer* included in the *current*
    +     * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g.,
    +     * following an `UpdateDeploymentGroup` call), along with their actuated
    +     * resources.
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture + deprovisionDeploymentGroup( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeprovisionDeploymentGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Gets details about a
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision].
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.DeploymentGroupRevision> + getDeploymentGroupRevision( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDeploymentGroupRevisionMethod(), getCallOptions()), request); + } + + /** + * + * + *
    +     * Lists
    +     * [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s
    +     * in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup].
    +     * 
    + */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse> + listDeploymentGroupRevisions( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDeploymentGroupRevisionsMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_DEPLOYMENTS = 0; @@ -3574,6 +4752,15 @@ protected ConfigFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca private static final int METHODID_GET_RESOURCE_DRIFT = 26; private static final int METHODID_GET_AUTO_MIGRATION_CONFIG = 27; private static final int METHODID_UPDATE_AUTO_MIGRATION_CONFIG = 28; + private static final int METHODID_GET_DEPLOYMENT_GROUP = 29; + private static final int METHODID_CREATE_DEPLOYMENT_GROUP = 30; + private static final int METHODID_UPDATE_DEPLOYMENT_GROUP = 31; + private static final int METHODID_DELETE_DEPLOYMENT_GROUP = 32; + private static final int METHODID_LIST_DEPLOYMENT_GROUPS = 33; + private static final int METHODID_PROVISION_DEPLOYMENT_GROUP = 34; + private static final int METHODID_DEPROVISION_DEPLOYMENT_GROUP = 35; + private static final int METHODID_GET_DEPLOYMENT_GROUP_REVISION = 36; + private static final int METHODID_LIST_DEPLOYMENT_GROUP_REVISIONS = 37; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -3751,6 +4938,56 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv (com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_GET_DEPLOYMENT_GROUP: + serviceImpl.getDeploymentGroup( + (com.google.cloud.config.v1.GetDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DEPLOYMENT_GROUP: + serviceImpl.createDeploymentGroup( + (com.google.cloud.config.v1.CreateDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DEPLOYMENT_GROUP: + serviceImpl.updateDeploymentGroup( + (com.google.cloud.config.v1.UpdateDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DEPLOYMENT_GROUP: + serviceImpl.deleteDeploymentGroup( + (com.google.cloud.config.v1.DeleteDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DEPLOYMENT_GROUPS: + serviceImpl.listDeploymentGroups( + (com.google.cloud.config.v1.ListDeploymentGroupsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_PROVISION_DEPLOYMENT_GROUP: + serviceImpl.provisionDeploymentGroup( + (com.google.cloud.config.v1.ProvisionDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DEPROVISION_DEPLOYMENT_GROUP: + serviceImpl.deprovisionDeploymentGroup( + (com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DEPLOYMENT_GROUP_REVISION: + serviceImpl.getDeploymentGroupRevision( + (com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_DEPLOYMENT_GROUP_REVISIONS: + serviceImpl.listDeploymentGroupRevisions( + (com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse>) + responseObserver); + break; default: throw new AssertionError(); } @@ -3958,6 +5195,66 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser com.google.cloud.config.v1.UpdateAutoMigrationConfigRequest, com.google.longrunning.Operation>( service, METHODID_UPDATE_AUTO_MIGRATION_CONFIG))) + .addMethod( + getGetDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetDeploymentGroupRequest, + com.google.cloud.config.v1.DeploymentGroup>( + service, METHODID_GET_DEPLOYMENT_GROUP))) + .addMethod( + getCreateDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.CreateDeploymentGroupRequest, + com.google.longrunning.Operation>(service, METHODID_CREATE_DEPLOYMENT_GROUP))) + .addMethod( + getUpdateDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.UpdateDeploymentGroupRequest, + com.google.longrunning.Operation>(service, METHODID_UPDATE_DEPLOYMENT_GROUP))) + .addMethod( + getDeleteDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.DeleteDeploymentGroupRequest, + com.google.longrunning.Operation>(service, METHODID_DELETE_DEPLOYMENT_GROUP))) + .addMethod( + getListDeploymentGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListDeploymentGroupsRequest, + com.google.cloud.config.v1.ListDeploymentGroupsResponse>( + service, METHODID_LIST_DEPLOYMENT_GROUPS))) + .addMethod( + getProvisionDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest, + com.google.longrunning.Operation>( + service, METHODID_PROVISION_DEPLOYMENT_GROUP))) + .addMethod( + getDeprovisionDeploymentGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest, + com.google.longrunning.Operation>( + service, METHODID_DEPROVISION_DEPLOYMENT_GROUP))) + .addMethod( + getGetDeploymentGroupRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest, + com.google.cloud.config.v1.DeploymentGroupRevision>( + service, METHODID_GET_DEPLOYMENT_GROUP_REVISION))) + .addMethod( + getListDeploymentGroupRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest, + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse>( + service, METHODID_LIST_DEPLOYMENT_GROUP_REVISIONS))) .build(); } @@ -4036,6 +5333,15 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getGetResourceDriftMethod()) .addMethod(getGetAutoMigrationConfigMethod()) .addMethod(getUpdateAutoMigrationConfigMethod()) + .addMethod(getGetDeploymentGroupMethod()) + .addMethod(getCreateDeploymentGroupMethod()) + .addMethod(getUpdateDeploymentGroupMethod()) + .addMethod(getDeleteDeploymentGroupMethod()) + .addMethod(getListDeploymentGroupsMethod()) + .addMethod(getProvisionDeploymentGroupMethod()) + .addMethod(getDeprovisionDeploymentGroupMethod()) + .addMethod(getGetDeploymentGroupRevisionMethod()) + .addMethod(getListDeploymentGroupRevisionsMethod()) .build(); } } diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java index 904658864c73..aa86263854cb 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ConfigProto.java @@ -60,10 +60,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_config_v1_TerraformVariable_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ExternalValueSource_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ExternalValueSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentSource_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentSource_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_config_v1_ApplyResults_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -104,6 +116,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -328,6 +352,78 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_config_v1_UpdateAutoMigrationConfigRequest_descriptor; static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_cloud_config_v1_UpdateAutoMigrationConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentGroup_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentGroup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentUnit_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentUnit_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentSpec_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentSpec_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentOperationSummary_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentUnitProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_DeploymentGroupRevision_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -423,24 +519,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\020_service_accountB\034\n" + "\032_import_existing_resourcesB\016\n" + "\014_worker_poolB\030\n" - + "\026_tf_version_constraint\"\244\002\n" + + "\026_tf_version_constraint\"\346\003\n" + "\022TerraformBlueprint\022\024\n\n" + "gcs_source\030\001 \001(\tH\000\0227\n\n" + "git_source\030\002 \001(\0132!.google.cloud.config.v1.GitSourceH\000\022V\n" + "\014input_values\030\004 \003(" - + "\0132;.google.cloud.config.v1.TerraformBlueprint.InputValuesEntryB\003\340A\001\032]\n" + + "\0132;.google.cloud.config.v1.TerraformBlueprint.InputValuesEntryB\003\340A\001\022\\\n" + + "\017external_values\030\005 \003(\0132>.google.cloud.config.v1.Te" + + "rraformBlueprint.ExternalValuesEntryB\003\340A\001\032]\n" + "\020InputValuesEntry\022\013\n" + "\003key\030\001 \001(\t\0228\n" - + "\005value\030\002 \001(\0132).go" - + "ogle.cloud.config.v1.TerraformVariable:\0028\001B\010\n" + + "\005value\030\002" + + " \001(\0132).google.cloud.config.v1.TerraformVariable:\0028\001\032b\n" + + "\023ExternalValuesEntry\022\013\n" + + "\003key\030\001 \001(\t\022:\n" + + "\005value\030\002" + + " \001(\0132+.google.cloud.config.v1.ExternalValueSource:\0028\001B\010\n" + "\006source\"E\n" + "\021TerraformVariable\0220\n" - + "\013input_value\030\005 \001(\0132\026.google.protobuf.ValueB\003\340A\001\"\317\001\n" + + "\013input_value\030\005 \001(\0132\026.google.protobuf.ValueB\003\340A\001\"f\n" + + "\023ExternalValueSource\022E\n" + + "\021deployment_source\030\001" + + " \001(\0132(.google.cloud.config.v1.DeploymentSourceH\000B\010\n" + + "\006source\"j\n" + + "\020DeploymentSource\022<\n\n" + + "deployment\030\001 \001(\tB(\340A\002\372A\"\n" + + " config.googleapis.com/Deployment\022\030\n" + + "\013output_name\030\002 \001(\tB\003\340A\002\"\317\001\n" + "\014ApplyResults\022\017\n" + "\007content\030\001 \001(\t\022\021\n" + "\tartifacts\030\002 \001(\t\022B\n" - + "\007outputs\030\003 \003(\01321.goog" - + "le.cloud.config.v1.ApplyResults.OutputsEntry\032W\n" + + "\007outputs\030\003 \003(\0132" + + "1.google.cloud.config.v1.ApplyResults.OutputsEntry\032W\n" + "\014OutputsEntry\022\013\n" + "\003key\030\001 \001(\t\0226\n" + "\005value\030\002 \001(\0132\'.google.cloud.config.v1.TerraformOutput:\0028\001\"K\n" @@ -479,9 +589,33 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(\tB)\340A\002\372A#\n" + "!locations.googleapis.com/Location\022\032\n\r" + "deployment_id\030\002 \001(\tB\003\340A\002\022;\n\n" - + "deployment\030\003" - + " \001(\0132\".google.cloud.config.v1.DeploymentB\003\340A\002\022\027\n\n" - + "request_id\030\004 \001(\tB\003\340A\001\"\245\001\n" + + "deployment\030\003 \001(\0132\"." + + "google.cloud.config.v1.DeploymentB\003\340A\002\022\027\n\n" + + "request_id\030\004 \001(\tB\003\340A\001\"\344\001\n" + + "\034CreateDeploymentGroupRequest\0229\n" + + "\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\022 \n" + + "\023deployment_group_id\030\002 \001(\tB\003\340A\002\022F\n" + + "\020deployment_group\030\003" + + " \001(\0132\'.google.cloud.config.v1.DeploymentGroupB\003\340A\002\022\037\n\n" + + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\275\001\n" + + "\034UpdateDeploymentGroupRequest\0224\n" + + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022F\n" + + "\020deployment_group\030\002" + + " \001(\0132\'.google.cloud.config.v1.DeploymentGroupB\003\340A\002\022\037\n\n" + + "request_id\030\003 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"\300\003\n" + + "\034DeleteDeploymentGroupRequest\022;\n" + + "\004name\030\001 \001(\tB-\340A\002\372A\'\n" + + "%config.googleapis.com/DeploymentGroup\022\037\n\n" + + "request_id\030\002 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\022\022\n" + + "\005force\030\003 \001(\010B\003\340A\001\022x\n" + + "\033deployment_reference_policy\030\004 \001(\0162N.google." + + "cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicyB\003\340A\001\"\263\001\n" + + "\031DeploymentReferencePolicy\022+\n" + + "\'DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED\020\000\022 \n" + + "\034FAIL_IF_ANY_REFERENCES_EXIST\020\001\022%\n" + + "!FAIL_IF_METADATA_REFERENCES_EXIST\020\002\022 \n" + + "\034IGNORE_DEPLOYMENT_REFERENCES\020\003\"\245\001\n" + "\027UpdateDeploymentRequest\0224\n" + "\013update_mask\030\001" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022;\n\n" @@ -498,12 +632,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\014DeletePolicy\022\035\n" + "\031DELETE_POLICY_UNSPECIFIED\020\000\022\n\n" + "\006DELETE\020\001\022\013\n" - + "\007ABANDON\020\002\"\301\003\n" + + "\007ABANDON\020\002\"\270\004\n" + "\021OperationMetadata\022W\n" + "\023deployment_metadata\030\010" + " \001(\01323.google.cloud.config.v1.DeploymentOperationMetadataB\003\340A\003H\000\022Q\n" + "\020preview_metadata\030\t" - + " \001(\01320.google.cloud.config.v1.PreviewOperationMetadataB\003\340A\003H\000\0224\n" + + " \001(\01320.google.cloud.config.v1.PreviewOperationMetadataB\003\340A\003H\000\022u\n" + + "#provision_deployment_group_metadata\030\n" + + " \001(\0132A.go" + + "ogle.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataB\003\340A\003H\000\0224\n" + "\013create_time\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221\n" + "\010end_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\023\n" + "\006target\030\003 \001(\tB\003\340A\003\022\021\n" @@ -518,13 +655,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\t\0224\n" + "\013create_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + "\013update_time\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022<\n" - + "\006action\030\004 \001(\0162" - + "\'.google.cloud.config.v1.Revision.ActionB\003\340A\003\022:\n" + + "\006action\030\004 \001(\0162\'" + + ".google.cloud.config.v1.Revision.ActionB\003\340A\003\022:\n" + "\005state\030\005" + " \001(\0162&.google.cloud.config.v1.Revision.StateB\003\340A\003\022@\n\r" + "apply_results\030\007" + " \001(\0132$.google.cloud.config.v1.ApplyResultsB\003\340A\003\022\031\n" - + "\014state_detail\030\010 \001(\tB\003\340A\003\022C\n\n" + + "\014state_detail\030\010 \001(\tB\003\340A\003\022C\n" + + "\n" + "error_code\030\t" + " \001(\0162*.google.cloud.config.v1.Revision.ErrorCodeB\003\340A\003\022\022\n" + "\005build\030\n" @@ -563,8 +701,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\026APPLY_BUILD_RUN_FAILED\020\005\022\033\n" + "\027QUOTA_VALIDATION_FAILED\020\007\022\'\n" + "#EXTERNAL_VALUE_SOURCE_IMPORT_FAILED\020\010:z\352Aw\n" - + "\036config.googleapis.com/Revision\022Uprojects/{project}/locations/{location}/deplo" - + "yments/{deployment}/revisions/{revision}B\013\n" + + "\036config.googleapis.com/Revision\022Uprojects/{project}/locations/{location}/deploy" + + "ments/{deployment}/revisions/{revision}B\013\n" + "\tblueprint\"\211\001\n" + "\016TerraformError\022\030\n" + "\020resource_address\030\001 \001(\t\022\032\n" @@ -579,8 +717,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_directoryB\006\n" + "\004_ref\"\237\004\n" + "\033DeploymentOperationMetadata\022P\n" - + "\004step\030\001 \001(\0162" - + "B.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep\022;\n\r" + + "\004step\030\001 \001(\0162B" + + ".google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep\022;\n\r" + "apply_results\030\002 \001(\0132$.google.cloud.config.v1.ApplyResults\022\022\n" + "\005build\030\003 \001(\tB\003\340A\003\022\021\n" + "\004logs\030\004 \001(\tB\003\340A\003\"\311\002\n" @@ -601,14 +739,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030RUNNING_QUOTA_VALIDATION\020\014\"\330\005\n" + "\010Resource\022\021\n" + "\004name\030\001 \001(\tB\003\340A\003\022J\n" - + "\016terraform_info\030\002 \001(\0132-.go" - + "ogle.cloud.config.v1.ResourceTerraformInfoB\003\340A\003\022H\n\n" - + "cai_assets\030\003 \003(\0132/.google.clo" - + "ud.config.v1.Resource.CaiAssetsEntryB\003\340A\003\022<\n" + + "\016terraform_info\030\002 \001(\0132-.goo" + + "gle.cloud.config.v1.ResourceTerraformInfoB\003\340A\003\022H\n\n" + + "cai_assets\030\003 \003(\0132/.google.clou" + + "d.config.v1.Resource.CaiAssetsEntryB\003\340A\003\022<\n" + "\006intent\030\004" + " \001(\0162\'.google.cloud.config.v1.Resource.IntentB\003\340A\003\022:\n" - + "\005state\030\005 \001(\0162&" - + ".google.cloud.config.v1.Resource.StateB\003\340A\003\032Y\n" + + "\005state\030\005 \001(\0162&." + + "google.cloud.config.v1.Resource.StateB\003\340A\003\032Y\n" + "\016CaiAssetsEntry\022\013\n" + "\003key\030\001 \001(\t\0226\n" + "\005value\030\002 \001(\0132\'.google.cloud.config.v1.ResourceCAIInfo:\0028\001\"a\n" @@ -625,8 +763,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013IN_PROGRESS\020\002\022\016\n\n" + "RECONCILED\020\003\022\n\n" + "\006FAILED\020\004:\220\001\352A\214\001\n" - + "\036config.googleapis.com/Resource\022jprojects/{project}/locations/{locati" - + "on}/deployments/{deployment}/revisions/{revision}/resources/{resource}\"B\n" + + "\036config.googleapis.com/Resource\022jprojects/{project}/locations/{locatio" + + "n}/deployments/{deployment}/revisions/{revision}/resources/{resource}\"B\n" + "\025ResourceTerraformInfo\022\017\n" + "\007address\030\001 \001(\t\022\014\n" + "\004type\030\002 \001(\t\022\n\n" @@ -687,14 +825,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\0132*.google.cloud.config.v1.TerraformBlueprintH\000\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\0224\n" + "\013create_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022@\n" - + "\006labels\030\003 \003" - + "(\0132+.google.cloud.config.v1.Preview.LabelsEntryB\003\340A\001\0229\n" + + "\006labels\030\003 \003(" + + "\0132+.google.cloud.config.v1.Preview.LabelsEntryB\003\340A\001\0229\n" + "\005state\030\004" + " \001(\0162%.google.cloud.config.v1.Preview.StateB\003\340A\003\022<\n\n" + "deployment\030\005 \001(\tB(\340A\001\372A\"\n" + " config.googleapis.com/Deployment\022F\n" - + "\014preview_mode\030\017 \001(\0162+.go" - + "ogle.cloud.config.v1.Preview.PreviewModeB\003\340A\001\022B\n" + + "\014preview_mode\030\017 \001(\0162+.goo" + + "gle.cloud.config.v1.Preview.PreviewModeB\003\340A\001\022B\n" + "\017service_account\030\007 \001(\tB)\340A\002\372A#\n" + "!iam.googleapis.com/ServiceAccount\022&\n" + "\024artifacts_gcs_bucket\030\010 \001(\tB\003\340A\001H\001\210\001\001\022F\n" @@ -707,13 +845,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\ttf_errors\030\r" + " \003(\0132&.google.cloud.config.v1.TerraformErrorB\003\340A\003\022\027\n\n" + "error_logs\030\016 \001(\tB\003\340A\003\022H\n" - + "\021preview_artifacts\030\020 \001(\0132(.g" - + "oogle.cloud.config.v1.PreviewArtifactsB\003\340A\003\022\021\n" + + "\021preview_artifacts\030\020 \001(\0132(.go" + + "ogle.cloud.config.v1.PreviewArtifactsB\003\340A\003\022\021\n" + "\004logs\030\021 \001(\tB\003\340A\003\022\027\n\n" + "tf_version\030\022 \001(\tB\003\340A\003\022\'\n" + "\025tf_version_constraint\030\023 \001(\tB\003\340A\001H\003\210\001\001\022J\n" - + "\013annotations\030\024 \003(\01320.google.c" - + "loud.config.v1.Preview.AnnotationsEntryB\003\340A\001\022D\n" + + "\013annotations\030\024 \003(\01320.google.cl" + + "oud.config.v1.Preview.AnnotationsEntryB\003\340A\001\022D\n" + "\017provider_config\030\025" + " \001(\0132&.google.cloud.config.v1.ProviderConfigB\003\340A\001\032-\n" + "\013LabelsEntry\022\013\n" @@ -744,8 +882,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030PREVIEW_BUILD_API_FAILED\020\005\022\034\n" + "\030PREVIEW_BUILD_RUN_FAILED\020\006\022\'\n" + "#EXTERNAL_VALUE_SOURCE_IMPORT_FAILED\020\007:q\352An\n" - + "\035config.googleapis.com/Preview\022:projects/{project}/locations/{loc" - + "ation}/previews/{preview}*\010previews2\007previewB\013\n" + + "\035config.googleapis.com/Preview\022:projects/{project}/locations/{loca" + + "tion}/previews/{preview}*\010previews2\007previewB\013\n" + "\tblueprintB\027\n" + "\025_artifacts_gcs_bucketB\016\n" + "\014_worker_poolB\030\n" @@ -777,8 +915,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006parent\030\001 \001(\tB)\340A\002\372A#\n" + "!locations.googleapis.com/Location\022\027\n\n" + "preview_id\030\002 \001(\tB\003\340A\001\0225\n" - + "\007preview\030\003 " - + "\001(\0132\037.google.cloud.config.v1.PreviewB\003\340A\002\022\037\n\n" + + "\007preview\030\003 \001" + + "(\0132\037.google.cloud.config.v1.PreviewB\003\340A\002\022\037\n\n" + "request_id\030\004 \001(\tB\013\340A\001\342\214\317\327\010\002\010\001\"H\n" + "\021GetPreviewRequest\0223\n" + "\004name\030\001 \001(\tB%\340A\002\372A\037\n" @@ -836,9 +974,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006ACTIVE\020\001\022\016\n\n" + "DEPRECATED\020\002\022\014\n" + "\010OBSOLETE\020\003:\240\001\352A\234\001\n" - + "&config.googleapis.com/TerraformVersion\022Mprojects/{project}/locations/{loca" - + "tion}/terraformVersions/{terraform_versi" - + "on}*\021terraformVersions2\020terraformVersionB\021\n" + + "&config.googleapis.com/TerraformVersion\022Mprojects/{project}/locations/{locat" + + "ion}/terraformVersions/{terraform_versio" + + "n}*\021terraformVersions2\020terraformVersionB\021\n" + "\017_deprecate_timeB\020\n" + "\016_obsolete_time\"\217\001\n" + "\033ResourceChangeTerraformInfo\022\024\n" @@ -851,10 +989,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\tB\003\340A\010\022P\n" + "\016terraform_info\030\002" + " \001(\01323.google.cloud.config.v1.ResourceChangeTerraformInfoB\003\340A\003\022B\n" - + "\006intent\030\003 \001(\0162" - + "-.google.cloud.config.v1.ResourceChange.IntentB\003\340A\003\022E\n" - + "\020property_changes\030\004 \003(\0132&." - + "google.cloud.config.v1.PropertyChangeB\003\340A\003\"a\n" + + "\006intent\030\003 \001(\0162-" + + ".google.cloud.config.v1.ResourceChange.IntentB\003\340A\003\022E\n" + + "\020property_changes\030\004 \003(\0132&.g" + + "oogle.cloud.config.v1.PropertyChangeB\003\340A\003\"a\n" + "\006Intent\022\026\n" + "\022INTENT_UNSPECIFIED\020\000\022\n\n" + "\006CREATE\020\001\022\n\n" @@ -862,14 +1000,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006DELETE\020\003\022\014\n" + "\010RECREATE\020\004\022\r\n" + "\tUNCHANGED\020\005:\251\001\352A\245\001\n" - + "$config.googleapis.com/ResourceChange\022\\projects/{pr" - + "oject}/locations/{location}/previews/{pr" - + "eview}/resourceChanges/{resource_change}*\017resourceChanges2\016resourceChange\"\305\001\n" + + "$config.googleapis.com/ResourceChange\022\\projects/{pro" + + "ject}/locations/{location}/previews/{pre" + + "view}/resourceChanges/{resource_change}*\017resourceChanges2\016resourceChange\"\305\001\n" + "\016PropertyChange\022\021\n" + "\004path\030\001 \001(\tB\003\340A\003\022#\n" + "\026before_sensitive_paths\030\002 \003(\tB\003\340A\003\022+\n" + "\006before\030\003 \001(\0132\026.google.protobuf.ValueB\003\340A\003\022\"\n" - + "\025after_sensitive_paths\030\004 \003(\tB\003\340A\003\022*\n" + + "\025afte", + "r_sensitive_paths\030\004 \003(\tB\003\340A\003\022*\n" + "\005after\030\005 \001(\0132\026.google.protobuf.ValueB\003\340A\003\"\260\001\n" + "\032ListResourceChangesRequest\0225\n" + "\006parent\030\001 \001(\tB%\340A\002\372A\037\n" @@ -893,12 +1032,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\010provider\030\004 \001(\tB\003\340A\003\"\337\002\n\r" + "ResourceDrift\022\021\n" + "\004name\030\001 \001(\tB\003\340A\010\022O\n" - + "\016terraform_info\030\002 \001(\01322.google.clo" - + "ud.config.v1.ResourceDriftTerraformInfoB\003\340A\003\022C\n" - + "\017property_drifts\030\003 \003(\0132%.google.c" - + "loud.config.v1.PropertyDriftB\003\340A\003:\244\001\352A\240\001\n" - + "#config.googleapis.com/ResourceDrift\022Zprojects/{project}/locations/{location}/p" - + "reviews/{preview}/resourceDrifts/{resource_drift}*\016resourceDrifts2\r" + + "\016terraform_info\030\002 \001(\01322.google.clou" + + "d.config.v1.ResourceDriftTerraformInfoB\003\340A\003\022C\n" + + "\017property_drifts\030\003" + + " \003(\0132%.google.cloud.config.v1.PropertyDriftB\003\340A\003:\244\001\352A\240\001\n" + + "#config.googleapis.com/ResourceDrift\022Zprojects/{project}/locations/{location}/pr" + + "eviews/{preview}/resourceDrifts/{resource_drift}*\016resourceDrifts2\r" + "resourceDrift\"\304\001\n\r" + "PropertyDrift\022\021\n" + "\004path\030\001 \001(\tB\003\340A\003\022#\n" @@ -914,188 +1053,356 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006filter\030\004 \001(\tB\003\340A\001\022\025\n" + "\010order_by\030\005 \001(\tB\003\340A\001\"\212\001\n" + "\032ListResourceDriftsResponse\022>\n" - + "\017resource_drifts\030\001 \003(\0132%.goog", - "le.cloud.config.v1.ResourceDrift\022\027\n\017next" - + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"T" - + "\n\027GetResourceDriftRequest\0229\n\004name\030\001 \001(\tB" - + "+\340A\002\372A%\n#config.googleapis.com/ResourceD" - + "rift\"\301\001\n\016ProviderConfig\022T\n\013source_type\030\001" - + " \001(\01625.google.cloud.config.v1.ProviderCo" - + "nfig.ProviderSourceB\003\340A\001H\000\210\001\001\"I\n\016Provide" - + "rSource\022\037\n\033PROVIDER_SOURCE_UNSPECIFIED\020\000" - + "\022\026\n\022SERVICE_MAINTAINED\020\001B\016\n\014_source_type" - + "\"`\n\035GetAutoMigrationConfigRequest\022?\n\004nam" - + "e\030\001 \001(\tB1\340A\002\372A+\n)config.googleapis.com/A" - + "utoMigrationConfig\"\235\002\n\023AutoMigrationConf" - + "ig\022\021\n\004name\030\001 \001(\tB\003\340A\010\0224\n\013update_time\030\002 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n\026a" - + "uto_migration_enabled\030\003 \001(\010B\003\340A\001:\227\001\352A\223\001\n" - + ")config.googleapis.com/AutoMigrationConf" - + "ig\022;projects/{project}/locations/{locati" - + "on}/autoMigrationConfig*\024autoMigrationCo" - + "nfigs2\023autoMigrationConfig\"\251\001\n UpdateAut" - + "oMigrationConfigRequest\0224\n\013update_mask\030\001" - + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022O\n" - + "\025auto_migration_config\030\002 \001(\0132+.google.cl" - + "oud.config.v1.AutoMigrationConfigB\003\340A\002*N" - + "\n\017QuotaValidation\022 \n\034QUOTA_VALIDATION_UN" - + "SPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010ENFORCED\020\0022\271" - + "-\n\006Config\022\264\001\n\017ListDeployments\022..google.c" - + "loud.config.v1.ListDeploymentsRequest\032/." - + "google.cloud.config.v1.ListDeploymentsRe" - + "sponse\"@\332A\006parent\202\323\344\223\0021\022//v1/{parent=pro" - + "jects/*/locations/*}/deployments\022\241\001\n\rGet" - + "Deployment\022,.google.cloud.config.v1.GetD" - + "eploymentRequest\032\".google.cloud.config.v" - + "1.Deployment\">\332A\004name\202\323\344\223\0021\022//v1/{name=p" - + "rojects/*/locations/*/deployments/*}\022\354\001\n" - + "\020CreateDeployment\022/.google.cloud.config." - + "v1.CreateDeploymentRequest\032\035.google.long" - + "running.Operation\"\207\001\312A\037\n\nDeployment\022\021Ope" - + "rationMetadata\332A\037parent,deployment,deplo" - + "yment_id\202\323\344\223\002=\"//v1/{parent=projects/*/l" - + "ocations/*}/deployments:\ndeployment\022\356\001\n\020" - + "UpdateDeployment\022/.google.cloud.config.v" - + "1.UpdateDeploymentRequest\032\035.google.longr" - + "unning.Operation\"\211\001\312A\037\n\nDeployment\022\021Oper" - + "ationMetadata\332A\026deployment,update_mask\202\323" - + "\344\223\002H2:/v1/{deployment.name=projects/*/lo" - + "cations/*/deployments/*}:\ndeployment\022\304\001\n" - + "\020DeleteDeployment\022/.google.cloud.config." - + "v1.DeleteDeploymentRequest\032\035.google.long" - + "running.Operation\"`\312A\037\n\nDeployment\022\021Oper" - + "ationMetadata\332A\004name\202\323\344\223\0021*//v1/{name=pr" - + "ojects/*/locations/*/deployments/*}\022\272\001\n\r" - + "ListRevisions\022,.google.cloud.config.v1.L" - + "istRevisionsRequest\032-.google.cloud.confi" - + "g.v1.ListRevisionsResponse\"L\332A\006parent\202\323\344" - + "\223\002=\022;/v1/{parent=projects/*/locations/*/" - + "deployments/*}/revisions\022\247\001\n\013GetRevision" - + "\022*.google.cloud.config.v1.GetRevisionReq" - + "uest\032 .google.cloud.config.v1.Revision\"J" - + "\332A\004name\202\323\344\223\002=\022;/v1/{name=projects/*/loca" - + "tions/*/deployments/*/revisions/*}\022\263\001\n\013G" - + "etResource\022*.google.cloud.config.v1.GetR" - + "esourceRequest\032 .google.cloud.config.v1." - + "Resource\"V\332A\004name\202\323\344\223\002I\022G/v1/{name=proje" - + "cts/*/locations/*/deployments/*/revision" - + "s/*/resources/*}\022\306\001\n\rListResources\022,.goo" - + "gle.cloud.config.v1.ListResourcesRequest" - + "\032-.google.cloud.config.v1.ListResourcesR" - + "esponse\"X\332A\006parent\202\323\344\223\002I\022G/v1/{parent=pr" - + "ojects/*/locations/*/deployments/*/revis" - + "ions/*}/resources\022\302\001\n\031ExportDeploymentSt" - + "atefile\0228.google.cloud.config.v1.ExportD" - + "eploymentStatefileRequest\032!.google.cloud" - + ".config.v1.Statefile\"H\202\323\344\223\002B\"=/v1/{paren" - + "t=projects/*/locations/*/deployments/*}:" - + "exportState:\001*\022\312\001\n\027ExportRevisionStatefi" - + "le\0226.google.cloud.config.v1.ExportRevisi" - + "onStatefileRequest\032!.google.cloud.config" - + ".v1.Statefile\"T\202\323\344\223\002N\"I/v1/{parent=proje" - + "cts/*/locations/*/deployments/*/revision" - + "s/*}:exportState:\001*\022\277\001\n\017ImportStatefile\022" - + "..google.cloud.config.v1.ImportStatefile" - + "Request\032!.google.cloud.config.v1.Statefi" - + "le\"Y\332A\016parent,lock_id\202\323\344\223\002B\"=/v1/{parent" - + "=projects/*/locations/*/deployments/*}:i" - + "mportState:\001*\022\250\001\n\017DeleteStatefile\022..goog" - + "le.cloud.config.v1.DeleteStatefileReques" - + "t\032\026.google.protobuf.Empty\"M\332A\004name\202\323\344\223\002@" - + "\";/v1/{name=projects/*/locations/*/deplo" - + "yments/*}:deleteState:\001*\022\310\001\n\016LockDeploym" - + "ent\022-.google.cloud.config.v1.LockDeploym" - + "entRequest\032\035.google.longrunning.Operatio" - + "n\"h\312A\037\n\nDeployment\022\021OperationMetadata\332A\004" - + "name\202\323\344\223\0029\"4/v1/{name=projects/*/locatio" - + "ns/*/deployments/*}:lock:\001*\022\326\001\n\020UnlockDe" - + "ployment\022/.google.cloud.config.v1.Unlock" - + "DeploymentRequest\032\035.google.longrunning.O" - + "peration\"r\312A\037\n\nDeployment\022\021OperationMeta" - + "data\332A\014name,lock_id\202\323\344\223\002;\"6/v1/{name=pro" - + "jects/*/locations/*/deployments/*}:unloc" - + "k:\001*\022\254\001\n\016ExportLockInfo\022-.google.cloud.c" - + "onfig.v1.ExportLockInfoRequest\032 .google." - + "cloud.config.v1.LockInfo\"I\332A\004name\202\323\344\223\002<\022" - + ":/v1/{name=projects/*/locations/*/deploy" - + "ments/*}:exportLock\022\313\001\n\rCreatePreview\022,." - + "google.cloud.config.v1.CreatePreviewRequ" - + "est\032\035.google.longrunning.Operation\"m\312A\034\n" - + "\007Preview\022\021OperationMetadata\332A\016parent,pre" - + "view\202\323\344\223\0027\",/v1/{parent=projects/*/locat" - + "ions/*}/previews:\007preview\022\225\001\n\nGetPreview" - + "\022).google.cloud.config.v1.GetPreviewRequ" - + "est\032\037.google.cloud.config.v1.Preview\";\332A" - + "\004name\202\323\344\223\002.\022,/v1/{name=projects/*/locati" - + "ons/*/previews/*}\022\250\001\n\014ListPreviews\022+.goo" - + "gle.cloud.config.v1.ListPreviewsRequest\032" - + ",.google.cloud.config.v1.ListPreviewsRes" - + "ponse\"=\332A\006parent\202\323\344\223\002.\022,/v1/{parent=proj" - + "ects/*/locations/*}/previews\022\270\001\n\rDeleteP" - + "review\022,.google.cloud.config.v1.DeletePr" - + "eviewRequest\032\035.google.longrunning.Operat" - + "ion\"Z\312A\034\n\007Preview\022\021OperationMetadata\332A\004n" - + "ame\202\323\344\223\002.*,/v1/{name=projects/*/location" - + "s/*/previews/*}\022\300\001\n\023ExportPreviewResult\022" - + "2.google.cloud.config.v1.ExportPreviewRe" - + "sultRequest\0323.google.cloud.config.v1.Exp" - + "ortPreviewResultResponse\"@\202\323\344\223\002:\"5/v1/{p" - + "arent=projects/*/locations/*/previews/*}" - + ":export:\001*\022\314\001\n\025ListTerraformVersions\0224.g" - + "oogle.cloud.config.v1.ListTerraformVersi" - + "onsRequest\0325.google.cloud.config.v1.List" - + "TerraformVersionsResponse\"F\332A\006parent\202\323\344\223" - + "\0027\0225/v1/{parent=projects/*/locations/*}/" - + "terraformVersions\022\271\001\n\023GetTerraformVersio" - + "n\0222.google.cloud.config.v1.GetTerraformV" - + "ersionRequest\032(.google.cloud.config.v1.T" - + "erraformVersion\"D\332A\004name\202\323\344\223\0027\0225/v1/{nam" - + "e=projects/*/locations/*/terraformVersio" - + "ns/*}\022\317\001\n\023ListResourceChanges\0222.google.c" - + "loud.config.v1.ListResourceChangesReques" - + "t\0323.google.cloud.config.v1.ListResourceC" - + "hangesResponse\"O\332A\006parent\202\323\344\223\002@\022>/v1/{pa" - + "rent=projects/*/locations/*/previews/*}/" - + "resourceChanges\022\274\001\n\021GetResourceChange\0220." - + "google.cloud.config.v1.GetResourceChange" - + "Request\032&.google.cloud.config.v1.Resourc" - + "eChange\"M\332A\004name\202\323\344\223\002@\022>/v1/{name=projec" - + "ts/*/locations/*/previews/*/resourceChan" - + "ges/*}\022\313\001\n\022ListResourceDrifts\0221.google.c" - + "loud.config.v1.ListResourceDriftsRequest" - + "\0322.google.cloud.config.v1.ListResourceDr" - + "iftsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{pare" - + "nt=projects/*/locations/*/previews/*}/re" - + "sourceDrifts\022\270\001\n\020GetResourceDrift\022/.goog" - + "le.cloud.config.v1.GetResourceDriftReque" - + "st\032%.google.cloud.config.v1.ResourceDrif" - + "t\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=projects/*/l" - + "ocations/*/previews/*/resourceDrifts/*}\022" - + "\302\001\n\026GetAutoMigrationConfig\0225.google.clou" - + "d.config.v1.GetAutoMigrationConfigReques" - + "t\032+.google.cloud.config.v1.AutoMigration" - + "Config\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=project" - + "s/*/locations/*/autoMigrationConfig}\022\260\002\n" - + "\031UpdateAutoMigrationConfig\0228.google.clou" - + "d.config.v1.UpdateAutoMigrationConfigReq" - + "uest\032\035.google.longrunning.Operation\"\271\001\312A" - + "(\n\023AutoMigrationConfig\022\021OperationMetadat" - + "a\332A!auto_migration_config,update_mask\202\323\344" - + "\223\002d2K/v1/{auto_migration_config.name=pro" - + "jects/*/locations/*/autoMigrationConfig}" - + ":\025auto_migration_config\032I\312A\025config.googl" - + "eapis.com\322A.https://www.googleapis.com/a" - + "uth/cloud-platformB\374\002\n\032com.google.cloud." - + "config.v1B\013ConfigProtoP\001Z2cloud.google.c" - + "om/go/config/apiv1/configpb;configpb\252\002\026G" - + "oogle.Cloud.Config.V1\312\002\026Google\\Cloud\\Con" - + "fig\\V1\352\002 Google::Cloud::ConfigService::V" - + "1\352AY\n!iam.googleapis.com/ServiceAccount\022" - + "4projects/{project}/serviceAccounts/{ser" - + "vice_account}\352Ai\n$cloudbuild.googleapis." - + "com/WorkerPool\022Aprojects/{project}/locat" - + "ions/{location}/workerPools/{worker_pool" - + "}b\006proto3" + + "\017resource_drifts\030\001 \003(\0132%.google.cloud.config.v1.ResourceDrift\022\027\n" + + "\017next_page_token\030\002 \001(\t\022\023\n" + + "\013unreachable\030\003 \003(\t\"T\n" + + "\027GetResourceDriftRequest\0229\n" + + "\004name\030\001 \001(\tB+\340A\002\372A%\n" + + "#config.googleapis.com/ResourceDrift\"\301\001\n" + + "\016ProviderConfig\022T\n" + + "\013source_type\030\001 " + + "\001(\01625.google.cloud.config.v1.ProviderConfig.ProviderSourceB\003\340A\001H\000\210\001\001\"I\n" + + "\016ProviderSource\022\037\n" + + "\033PROVIDER_SOURCE_UNSPECIFIED\020\000\022\026\n" + + "\022SERVICE_MAINTAINED\020\001B\016\n" + + "\014_source_type\"`\n" + + "\035GetAutoMigrationConfigRequest\022?\n" + + "\004name\030\001 \001(\tB1\340A\002\372A+\n" + + ")config.googleapis.com/AutoMigrationConfig\"\235\002\n" + + "\023AutoMigrationConfig\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\0224\n" + + "\013update_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022#\n" + + "\026auto_migration_enabled\030\003 \001(\010B\003\340A\001:\227\001\352A\223\001\n" + + ")config.googleapis.com/AutoMigrationConfig\022;projects/{project}/locations/{locatio" + + "n}/autoMigrationConfig*\024autoMigrationConfigs2\023autoMigrationConfig\"\251\001\n" + + " UpdateAutoMigrationConfigRequest\0224\n" + + "\013update_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022O\n" + + "\025auto_migration_config\030\002" + + " \001(\0132+.google.cloud.config.v1.AutoMigrationConfigB\003\340A\002\"\310\t\n" + + "\017DeploymentGroup\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\0224\n" + + "\013create_time\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\003 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022H\n" + + "\006labels\030\004 \003(\013" + + "23.google.cloud.config.v1.DeploymentGroup.LabelsEntryB\003\340A\001\022R\n" + + "\013annotations\030\005 \003(\0132" + + "8.google.cloud.config.v1.DeploymentGroup.AnnotationsEntryB\003\340A\001\022A\n" + + "\005state\030\006 \001(\0162-." + + "google.cloud.config.v1.DeploymentGroup.StateB\003\340A\003\022\036\n" + + "\021state_description\030\007 \001(\tB\003\340A\003\022@\n" + + "\020deployment_units\030\010 \003(\0132&.google.cloud.config.v1.DeploymentUnit\022Z\n" + + "\022provisioning_state\030\t \001(\01629.google.cloud.config.v1" + + ".DeploymentGroup.ProvisioningStateB\003\340A\003\022+\n" + + "\036provisioning_state_description\030\n" + + " \001(\tB\003\340A\003\0223\n" + + "\022provisioning_error\030\013 \001(\0132\022.google.rpc.StatusB\003\340A\003\032-\n" + + "\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\0322\n" + + "\020AnnotationsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001\"|\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\014\n" + + "\010CREATING\020\001\022\n\n" + + "\006ACTIVE\020\002\022\014\n" + + "\010UPDATING\020\003\022\014\n" + + "\010DELETING\020\004\022\n\n" + + "\006FAILED\020\005\022\r\n" + + "\tSUSPENDED\020\006\022\013\n" + + "\007DELETED\020\007\"\265\001\n" + + "\021ProvisioningState\022\"\n" + + "\036PROVISIONING_STATE_UNSPECIFIED\020\000\022\020\n" + + "\014PROVISIONING\020\001\022\017\n" + + "\013PROVISIONED\020\002\022\027\n" + + "\023FAILED_TO_PROVISION\020\003\022\022\n" + + "\016DEPROVISIONING\020\004\022\021\n\r" + + "DEPROVISIONED\020\005\022\031\n" + + "\025FAILED_TO_DEPROVISION\020\006:\233\001\352A\227\001\n" + + "%config.googleapis.com/DeploymentGroup\022Kprojec" + + "ts/{project}/locations/{location}/deploy" + + "mentGroups/{deployment_group}*\020deploymentGroups2\017deploymentGroup\"\211\001\n" + + "\016DeploymentUnit\022\n\n" + + "\002id\030\001 \001(\t\022A\n\n" + + "deployment\030\002 \001(\tB(\340A\001\372A\"\n" + + " config.googleapis.com/DeploymentH\000\210\001\001\022\031\n" + + "\014dependencies\030\003 \003(\tB\003\340A\002B\r\n" + + "\013_deployment\"i\n" + + "\016DeploymentSpec\022\032\n\r" + + "deployment_id\030\001 \001(\tB\003\340A\002\022;\n\n" + + "deployment\030\002 \001(\0132\".google.cloud.config.v1.DeploymentB\003\340A\002\"X\n" + + "\031GetDeploymentGroupRequest\022;\n" + + "\004name\030\001 \001(\tB-\340A\002\372A\'\n" + + "%config.googleapis.com/DeploymentGroup\"\265\001\n" + + "\033ListDeploymentGroupsRequest\0229\n" + + "\006parent\030\001 \001(\tB)\340A\002\372A#\n" + + "!locations.googleapis.com/Location\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022\023\n" + + "\006filter\030\004 \001(\tB\003\340A\001\022\025\n" + + "\010order_by\030\005 \001(\tB\003\340A\001\"\220\001\n" + + "\034ListDeploymentGroupsResponse\022B\n" + + "\021deployment_groups\030\001" + + " \003(\0132\'.google.cloud.config.v1.DeploymentGroup\022\027\n" + + "\017next_page_token\030\002 \001(\t\022\023\n" + + "\013unreachable\030\003 \003(\t\"\253\002\n" + + "\037ProvisionDeploymentGroupRequest\022;\n" + + "\004name\030\001 \001(\tB-\340A\002\372A\'\n" + + "%config.googleapis.com/DeploymentGroup\022k\n" + + "\020deployment_specs\030\003 \003(\0132L.google.cloud.config.v1" + + ".ProvisionDeploymentGroupRequest.DeploymentSpecsEntryB\003\340A\001\032^\n" + + "\024DeploymentSpecsEntry\022\013\n" + + "\003key\030\001 \001(\t\0225\n" + + "\005value\030\002" + + " \001(\0132&.google.cloud.config.v1.DeploymentSpec:\0028\001\"\316\001\n" + + "!DeprovisionDeploymentGroupRequest\022;\n" + + "\004name\030\001 \001(\tB-\340A\002\372A\'\n" + + "%config.googleapis.com/DeploymentGroup\022\022\n" + + "\005force\030\002 \001(\010B\003\340A\001\022X\n\r" + + "delete_policy\030\003 \001(\0162<.google.cloud.config.v" + + "1.DeleteDeploymentRequest.DeletePolicyB\003\340A\001\"\333\001\n" + + "\032DeploymentOperationSummary\022`\n" + + "\017deployment_step\030\001 \001(\0162B.google.cloud.confi" + + "g.v1.DeploymentOperationMetadata.DeploymentStepB\003\340A\003\022\032\n" + + "\005build\030\002 \001(\tB\013\340A\003\342\214\317\327\010\002\010\001\022\021\n" + + "\004logs\030\003 \001(\tB\003\340A\003\022\024\n" + + "\007content\030\004 \001(\tB\003\340A\003\022\026\n" + + "\tartifacts\030\005 \001(\tB\003\340A\003\"\366\005\n" + + "\026DeploymentUnitProgress\022\024\n" + + "\007unit_id\030\001 \001(\tB\003\340A\003\022<\n\n" + + "deployment\030\002 \001(\tB(\340A\003\372A\"\n" + + " config.googleapis.com/Deployment\022H\n" + + "\005state\030\003 \001(\01624.google" + + ".cloud.config.v1.DeploymentUnitProgress.StateB\003\340A\003\022\036\n" + + "\021state_description\030\004 \001(\tB\003\340A\003\022]\n" + + "\034deployment_operation_summary\030\005 \001(\013" + + "22.google.cloud.config.v1.DeploymentOperationSummaryB\003\340A\003\022&\n" + + "\005error\030\006 \001(\0132\022.google.rpc.StatusB\003\340A\003\022J\n" + + "\006intent\030\007 \001(\01625.goog" + + "le.cloud.config.v1.DeploymentUnitProgress.IntentB\003\340A\003\"\254\001\n" + + "\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n" + + "\006QUEUED\020\001\022\027\n" + + "\023APPLYING_DEPLOYMENT\020\002\022\r\n" + + "\tSUCCEEDED\020\004\022\n\n" + + "\006FAILED\020\005\022\013\n" + + "\007ABORTED\020\006\022\013\n" + + "\007SKIPPED\020\007\022\027\n" + + "\023DELETING_DEPLOYMENT\020\010\022\031\n" + + "\025PREVIEWING_DEPLOYMENT\020\t\"\233\001\n" + + "\006Intent\022\026\n" + + "\022INTENT_UNSPECIFIED\020\000\022\025\n" + + "\021CREATE_DEPLOYMENT\020\001\022\025\n" + + "\021UPDATE_DEPLOYMENT\020\002\022\025\n" + + "\021DELETE_DEPLOYMENT\020\003\022\027\n" + + "\023RECREATE_DEPLOYMENT\020\004\022\014\n" + + "\010CLEAN_UP\020\005\022\r\n" + + "\tUNCHANGED\020\006\"\264\004\n" + + ")ProvisionDeploymentGroupOperationMetadata\022q\n" + + "\004step\030\001 \001(\0162^.google.cloud.config.v1.Provisio" + + "nDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStepB\003\340A\003\022W\n" + + "\032deployment_unit_progresses\030\002" + + " \003(\0132..google.cloud.config.v1.DeploymentUnitProgressB\003\340A\003\"\272\002\n" + + "\034ProvisionDeploymentGroupStep\022/\n" + + "+PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED\020\000\022\037\n" + + "\033VALIDATING_DEPLOYMENT_GROUP\020\001\022/\n" + + "+ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP\020\002\022!\n" + + "\035PROVISIONING_DEPLOYMENT_UNITS\020\003\0224\n" + + "0DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP\020\004\022\r\n" + + "\tSUCCEEDED\020\005\022\n\n" + + "\006FAILED\020\006\022#\n" + + "\037DEPROVISIONING_DEPLOYMENT_UNITS\020\007\"\213\003\n" + + "\027DeploymentGroupRevision\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\010\022>\n" + + "\010snapshot\030\002" + + " \001(\0132\'.google.cloud.config.v1.DeploymentGroupB\003\340A\003\0224\n" + + "\013create_time\030\003" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\034\n" + + "\017alternative_ids\030\004 \003(\tB\003\340A\003:\310\001\352A\304\001\n" + + "-config.googleapis.com/DeploymentGroupRevisi" + + "on\022`projects/{project}/locations/{location}/deploymentGroups/{deployment_group}/" + + "revisions/{revision}*\030deploymentGroupRevisions2\027deploymentGroupRevision\"h\n" + + "!GetDeploymentGroupRevisionRequest\022C\n" + + "\004name\030\001 \001(\tB5\340A\002\372A/\n" + + "-config.googleapis.com/DeploymentGroupRevision\"\225\001\n" + + "#ListDeploymentGroupRevisionsRequest\022=\n" + + "\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + + "%config.googleapis.com/DeploymentGroup\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\256\001\n" + + "$ListDeploymentGroupRevisionsResponse\022S\n" + + "\032deployment_group_revisions\030\001" + + " \003(\0132/.google.cloud.config.v1.DeploymentGroupRevision\022\027\n" + + "\017next_page_token\030\002 \001(\t\022\030\n" + + "\013unreachable\030\003 \003(\tB\003\340A\006*N\n" + + "\017QuotaValidation\022 \n" + + "\034QUOTA_VALIDATION_UNSPECIFIED\020\000\022\013\n" + + "\007ENABLED\020\001\022\014\n" + + "\010ENFORCED\020\0022\360=\n" + + "\006Config\022\264\001\n" + + "\017ListDeployments\022..google.cloud.config." + + "v1.ListDeploymentsRequest\032/.google.cloud" + + ".config.v1.ListDeploymentsResponse\"@\332A\006p" + + "arent\202\323\344\223\0021\022//v1/{parent=projects/*/locations/*}/deployments\022\241\001\n\r" + + "GetDeployment\022,.google.cloud.config.v1.GetDeploymentReq" + + "uest\032\".google.cloud.config.v1.Deployment" + + "\">\332A\004name\202\323\344\223\0021\022//v1/{name=projects/*/locations/*/deployments/*}\022\354\001\n" + + "\020CreateDeployment\022/.google.cloud.config.v1.CreateDep" + + "loymentRequest\032\035.google.longrunning.Operation\"\207\001\312A\037\n\n" + + "Deployment\022\021OperationMetada" + + "ta\332A\037parent,deployment,deployment_id\202\323\344\223" + + "\002=\"//v1/{parent=projects/*/locations/*}/deployments:\n" + + "deployment\022\356\001\n" + + "\020UpdateDeployment\022/.google.cloud.config.v1.UpdateDepl" + + "oymentRequest\032\035.google.longrunning.Operation\"\211\001\312A\037\n\n" + + "Deployment\022\021OperationMetadat" + + "a\332A\026deployment,update_mask\202\323\344\223\002H2:/v1/{d" + + "eployment.name=projects/*/locations/*/deployments/*}:\n" + + "deployment\022\304\001\n" + + "\020DeleteDeployment\022/.google.cloud.config.v1.DeleteDep" + + "loymentRequest\032\035.google.longrunning.Operation\"`\312A\037\n\n" + + "Deployment\022\021OperationMetadat" + + "a\332A\004name\202\323\344\223\0021*//v1/{name=projects/*/locations/*/deployments/*}\022\272\001\n\r" + + "ListRevisions\022,.google.cloud.config.v1.ListRevisions" + + "Request\032-.google.cloud.config.v1.ListRev" + + "isionsResponse\"L\332A\006parent\202\323\344\223\002=\022;/v1/{pa" + + "rent=projects/*/locations/*/deployments/*}/revisions\022\247\001\n" + + "\013GetRevision\022*.google.cloud.config.v1.GetRevisionRequest\032 .googl" + + "e.cloud.config.v1.Revision\"J\332A\004name\202\323\344\223\002" + + "=\022;/v1/{name=projects/*/locations/*/deployments/*/revisions/*}\022\263\001\n" + + "\013GetResource\022*.google.cloud.config.v1.GetResourceRequest\032" + + " .google.cloud.config.v1.Resource\"V\332A" + + "\004name\202\323\344\223\002I\022G/v1/{name=projects/*/locati" + + "ons/*/deployments/*/revisions/*/resources/*}\022\306\001\n\r" + + "ListResources\022,.google.cloud.config.v1.ListResourcesRequest\032-.google.cl" + + "oud.config.v1.ListResourcesResponse\"X\332A\006" + + "parent\202\323\344\223\002I\022G/v1/{parent=projects/*/loc" + + "ations/*/deployments/*/revisions/*}/resources\022\302\001\n" + + "\031ExportDeploymentStatefile\0228.google.cloud.config.v1.ExportDeploymentSta" + + "tefileRequest\032!.google.cloud.config.v1.S" + + "tatefile\"H\202\323\344\223\002B\"=/v1/{parent=projects/*" + + "/locations/*/deployments/*}:exportState:\001*\022\312\001\n" + + "\027ExportRevisionStatefile\0226.google.cloud.config.v1.ExportRevisionStatefileR" + + "equest\032!.google.cloud.config.v1.Statefil" + + "e\"T\202\323\344\223\002N\"I/v1/{parent=projects/*/locati" + + "ons/*/deployments/*/revisions/*}:exportState:\001*\022\277\001\n" + + "\017ImportStatefile\022..google.cloud.config.v1.ImportStatefileRequest\032!.go" + + "ogle.cloud.config.v1.Statefile\"Y\332A\016paren" + + "t,lock_id\202\323\344\223\002B\"=/v1/{parent=projects/*/" + + "locations/*/deployments/*}:importState:\001*\022\250\001\n" + + "\017DeleteStatefile\022..google.cloud.con" + + "fig.v1.DeleteStatefileRequest\032\026.google.p" + + "rotobuf.Empty\"M\332A\004name\202\323\344\223\002@\";/v1/{name=" + + "projects/*/locations/*/deployments/*}:deleteState:\001*\022\310\001\n" + + "\016LockDeployment\022-.google" + + ".cloud.config.v1.LockDeploymentRequest\032\035.google.longrunning.Operation\"h\312A\037\n\n" + + "Deployment\022\021OperationMetadata\332A\004name\202\323\344\223\0029\"4" + + "/v1/{name=projects/*/locations/*/deployments/*}:lock:\001*\022\326\001\n" + + "\020UnlockDeployment\022/.google.cloud.config.v1.UnlockDeploymentRe" + + "quest\032\035.google.longrunning.Operation\"r\312A\037\n\n" + + "Deployment\022\021OperationMetadata\332A\014name," + + "lock_id\202\323\344\223\002;\"6/v1/{name=projects/*/locations/*/deployments/*}:unlock:\001*\022\254\001\n" + + "\016ExportLockInfo\022-.google.cloud.config.v1.ExportLockInfoRequest\032" + + " .google.cloud.config.v1.LockInfo\"I\332A\004name\202\323\344\223\002<\022:/v1/{name=p" + + "rojects/*/locations/*/deployments/*}:exportLock\022\313\001\n\r" + + "CreatePreview\022,.google.cloud" + + ".config.v1.CreatePreviewRequest\032\035.google.longrunning.Operation\"m\312A\034\n" + + "\007Preview\022\021OperationMetadata\332A\016parent,preview\202\323\344\223\0027\"," + + "/v1/{parent=projects/*/locations/*}/previews:\007preview\022\225\001\n\n" + + "GetPreview\022).google.cloud.config.v1.GetPreviewRequest\032\037.google" + + ".cloud.config.v1.Preview\";\332A\004name\202\323\344\223\002.\022" + + ",/v1/{name=projects/*/locations/*/previews/*}\022\250\001\n" + + "\014ListPreviews\022+.google.cloud.config.v1.ListPreviewsRequest\032,.google.clo" + + "ud.config.v1.ListPreviewsResponse\"=\332A\006pa" + + "rent\202\323\344\223\002.\022,/v1/{parent=projects/*/locations/*}/previews\022\270\001\n\r" + + "DeletePreview\022,.goo" + + "gle.cloud.config.v1.DeletePreviewRequest\032\035.google.longrunning.Operation\"Z\312A\034\n" + + "\007Preview\022\021OperationMetadata\332A\004name\202\323\344\223\002.*,/" + + "v1/{name=projects/*/locations/*/previews/*}\022\300\001\n" + + "\023ExportPreviewResult\0222.google.cloud.config.v1.ExportPreviewResultRequest\032" + + "3.google.cloud.config.v1.ExportPreviewRe" + + "sultResponse\"@\202\323\344\223\002:\"5/v1/{parent=projec" + + "ts/*/locations/*/previews/*}:export:\001*\022\314\001\n" + + "\025ListTerraformVersions\0224.google.cloud." + + "config.v1.ListTerraformVersionsRequest\0325.google.cloud.config.v1.ListTerraformVer" + + "sionsResponse\"F\332A\006parent\202\323\344\223\0027\0225/v1/{par" + + "ent=projects/*/locations/*}/terraformVersions\022\271\001\n" + + "\023GetTerraformVersion\0222.google.cloud.config.v1.GetTerraformVersionReques" + + "t\032(.google.cloud.config.v1.TerraformVers" + + "ion\"D\332A\004name\202\323\344\223\0027\0225/v1/{name=projects/*/locations/*/terraformVersions/*}\022\317\001\n" + + "\023ListResourceChanges\0222.google.cloud.config." + + "v1.ListResourceChangesRequest\0323.google.cloud.config.v1.ListResourceChangesRespon" + + "se\"O\332A\006parent\202\323\344\223\002@\022>/v1/{parent=project" + + "s/*/locations/*/previews/*}/resourceChanges\022\274\001\n" + + "\021GetResourceChange\0220.google.cloud.config.v1.GetResourceChangeRequest\032&.go" + + "ogle.cloud.config.v1.ResourceChange\"M\332A\004" + + "name\202\323\344\223\002@\022>/v1/{name=projects/*/locations/*/previews/*/resourceChanges/*}\022\313\001\n" + + "\022ListResourceDrifts\0221.google.cloud.config." + + "v1.ListResourceDriftsRequest\0322.google.cloud.config.v1.ListResourceDriftsResponse" + + "\"N\332A\006parent\202\323\344\223\002?\022=/v1/{parent=projects/" + + "*/locations/*/previews/*}/resourceDrifts\022\270\001\n" + + "\020GetResourceDrift\022/.google.cloud.config.v1.GetResourceDriftRequest\032%.google." + + "cloud.config.v1.ResourceDrift\"L\332A\004name\202\323" + + "\344\223\002?\022=/v1/{name=projects/*/locations/*/previews/*/resourceDrifts/*}\022\302\001\n" + + "\026GetAutoMigrationConfig\0225.google.cloud.config.v1." + + "GetAutoMigrationConfigRequest\032+.google.c" + + "loud.config.v1.AutoMigrationConfig\"D\332A\004n" + + "ame\202\323\344\223\0027\0225/v1/{name=projects/*/locations/*/autoMigrationConfig}\022\260\002\n" + + "\031UpdateAutoMigrationConfig\0228.google.cloud.config.v1." + + "UpdateAutoMigrationConfigRequest\032\035.google.longrunning.Operation\"\271\001\312A(\n" + + "\023AutoMigrationConfig\022\021OperationMetadata\332A!auto_mig" + + "ration_config,update_mask\202\323\344\223\002d2K/v1/{au" + + "to_migration_config.name=projects/*/loca" + + "tions/*/autoMigrationConfig}:\025auto_migration_config\022\265\001\n" + + "\022GetDeploymentGroup\0221.google.cloud.config.v1.GetDeploymentGroupRe" + + "quest\032\'.google.cloud.config.v1.Deploymen" + + "tGroup\"C\332A\004name\202\323\344\223\0026\0224/v1/{name=projects/*/locations/*/deploymentGroups/*}\022\222\002\n" + + "\025CreateDeploymentGroup\0224.google.cloud.con" + + "fig.v1.CreateDeploymentGroupRequest\032\035.google.longrunning.Operation\"\243\001\312A$\n" + + "\017DeploymentGroup\022\021OperationMetadata\332A+parent,de" + + "ployment_group,deployment_group_id\202\323\344\223\002H" + + "\"4/v1/{parent=projects/*/locations/*}/deploymentGroups:\020deployment_group\022\224\002\n" + + "\025UpdateDeploymentGroup\0224.google.cloud.config" + + ".v1.UpdateDeploymentGroupRequest\032\035.google.longrunning.Operation\"\245\001\312A$\n" + + "\017DeploymentGroup\022\021OperationMetadata\332A\034deployment_g" + + "roup,update_mask\202\323\344\223\002Y2E/v1/{deployment_" + + "group.name=projects/*/locations/*/deploymentGroups/*}:\020deployment_group\022\330\001\n" + + "\025DeleteDeploymentGroup\0224.google.cloud.config." + + "v1.DeleteDeploymentGroupRequest\032\035.google.longrunning.Operation\"j\312A$\n" + + "\017DeploymentGroup\022\021OperationMetadata\332A\004name\202\323\344\223\0026*4/v" + + "1/{name=projects/*/locations/*/deploymentGroups/*}\022\310\001\n" + + "\024ListDeploymentGroups\0223.google.cloud.config.v1.ListDeploymentGroup" + + "sRequest\0324.google.cloud.config.v1.ListDe" + + "ploymentGroupsResponse\"E\332A\006parent\202\323\344\223\0026\022" + + "4/v1/{parent=projects/*/locations/*}/deploymentGroups\022\353\001\n" + + "\030ProvisionDeploymentGroup\0227.google.cloud.config.v1.ProvisionDep" + + "loymentGroupRequest\032\035.google.longrunning.Operation\"w\312A$\n" + + "\017DeploymentGroup\022\021Operat" + + "ionMetadata\332A\004name\202\323\344\223\002C\">/v1/{name=proj" + + "ects/*/locations/*/deploymentGroups/*}:provision:\001*\022\361\001\n" + + "\032DeprovisionDeploymentGroup\0229.google.cloud.config.v1.DeprovisionD" + + "eploymentGroupRequest\032\035.google.longrunning.Operation\"y\312A$\n" + + "\017DeploymentGroup\022\021Oper" + + "ationMetadata\332A\004name\202\323\344\223\002E\"@/v1/{name=pr" + + "ojects/*/locations/*/deploymentGroups/*}:deprovision:\001*\022\331\001\n" + + "\032GetDeploymentGroupRevision\0229.google.cloud.config.v1.GetDeplo" + + "ymentGroupRevisionRequest\032/.google.cloud" + + ".config.v1.DeploymentGroupRevision\"O\332A\004n" + + "ame\202\323\344\223\002B\022@/v1/{name=projects/*/locations/*/deploymentGroups/*/revisions/*}\022\354\001\n" + + "\034ListDeploymentGroupRevisions\022;.google.cl" + + "oud.config.v1.ListDeploymentGroupRevisionsRequest\032<.google.cloud.config.v1.ListD" + + "eploymentGroupRevisionsResponse\"Q\332A\006pare" + + "nt\202\323\344\223\002B\022@/v1/{parent=projects/*/locatio" + + "ns/*/deploymentGroups/*}/revisions\032I\312A\025c" + + "onfig.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platformB\374\002\n" + + "\032com.google.cloud.config.v1B\013ConfigProtoP\001Z2clo" + + "ud.google.com/go/config/apiv1/configpb;c" + + "onfigpb\252\002\026Google.Cloud.Config.V1\312\002\026Google\\Cloud\\Config\\V1\352\002" + + " Google::Cloud::ConfigService::V1\352AY\n" + + "!iam.googleapis.com/Serv" + + "iceAccount\0224projects/{project}/serviceAccounts/{service_account}\352Ai\n" + + "$cloudbuild.googleapis.com/WorkerPool\022Aprojects/{pro" + + "ject}/locations/{location}/workerPools/{worker_pool}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -1167,7 +1474,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor, new java.lang.String[] { - "GcsSource", "GitSource", "InputValues", "Source", + "GcsSource", "GitSource", "InputValues", "ExternalValues", "Source", }); internal_static_google_cloud_config_v1_TerraformBlueprint_InputValuesEntry_descriptor = internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor.getNestedType(0); @@ -1177,6 +1484,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_descriptor = + internal_static_google_cloud_config_v1_TerraformBlueprint_descriptor.getNestedType(1); + internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_config_v1_TerraformVariable_descriptor = getDescriptor().getMessageType(2); internal_static_google_cloud_config_v1_TerraformVariable_fieldAccessorTable = @@ -1185,8 +1500,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "InputValue", }); - internal_static_google_cloud_config_v1_ApplyResults_descriptor = + internal_static_google_cloud_config_v1_ExternalValueSource_descriptor = getDescriptor().getMessageType(3); + internal_static_google_cloud_config_v1_ExternalValueSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ExternalValueSource_descriptor, + new java.lang.String[] { + "DeploymentSource", "Source", + }); + internal_static_google_cloud_config_v1_DeploymentSource_descriptor = + getDescriptor().getMessageType(4); + internal_static_google_cloud_config_v1_DeploymentSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentSource_descriptor, + new java.lang.String[] { + "Deployment", "OutputName", + }); + internal_static_google_cloud_config_v1_ApplyResults_descriptor = + getDescriptor().getMessageType(5); internal_static_google_cloud_config_v1_ApplyResults_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ApplyResults_descriptor, @@ -1202,7 +1533,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_config_v1_TerraformOutput_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageType(6); internal_static_google_cloud_config_v1_TerraformOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_TerraformOutput_descriptor, @@ -1210,7 +1541,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Sensitive", "Value", }); internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor = - getDescriptor().getMessageType(5); + getDescriptor().getMessageType(7); internal_static_google_cloud_config_v1_ListDeploymentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListDeploymentsRequest_descriptor, @@ -1218,7 +1549,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor = - getDescriptor().getMessageType(6); + getDescriptor().getMessageType(8); internal_static_google_cloud_config_v1_ListDeploymentsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListDeploymentsResponse_descriptor, @@ -1226,7 +1557,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Deployments", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageType(9); internal_static_google_cloud_config_v1_GetDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetDeploymentRequest_descriptor, @@ -1234,7 +1565,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageType(10); internal_static_google_cloud_config_v1_ListRevisionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListRevisionsRequest_descriptor, @@ -1242,7 +1573,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageType(11); internal_static_google_cloud_config_v1_ListRevisionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListRevisionsResponse_descriptor, @@ -1250,7 +1581,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Revisions", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageType(12); internal_static_google_cloud_config_v1_GetRevisionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetRevisionRequest_descriptor, @@ -1258,15 +1589,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageType(13); internal_static_google_cloud_config_v1_CreateDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_CreateDeploymentRequest_descriptor, new java.lang.String[] { "Parent", "DeploymentId", "Deployment", "RequestId", }); + internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(14); + internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "Parent", "DeploymentGroupId", "DeploymentGroup", "RequestId", + }); + internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(15); + internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "DeploymentGroup", "RequestId", + }); + internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(16); + internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "Name", "RequestId", "Force", "DeploymentReferencePolicy", + }); internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor = - getDescriptor().getMessageType(12); + getDescriptor().getMessageType(17); internal_static_google_cloud_config_v1_UpdateDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_UpdateDeploymentRequest_descriptor, @@ -1274,7 +1629,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateMask", "Deployment", "RequestId", }); internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor = - getDescriptor().getMessageType(13); + getDescriptor().getMessageType(18); internal_static_google_cloud_config_v1_DeleteDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_DeleteDeploymentRequest_descriptor, @@ -1282,13 +1637,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", "Force", "DeletePolicy", }); internal_static_google_cloud_config_v1_OperationMetadata_descriptor = - getDescriptor().getMessageType(14); + getDescriptor().getMessageType(19); internal_static_google_cloud_config_v1_OperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_OperationMetadata_descriptor, new java.lang.String[] { "DeploymentMetadata", "PreviewMetadata", + "ProvisionDeploymentGroupMetadata", "CreateTime", "EndTime", "Target", @@ -1298,7 +1654,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ApiVersion", "ResourceMetadata", }); - internal_static_google_cloud_config_v1_Revision_descriptor = getDescriptor().getMessageType(15); + internal_static_google_cloud_config_v1_Revision_descriptor = getDescriptor().getMessageType(20); internal_static_google_cloud_config_v1_Revision_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_Revision_descriptor, @@ -1327,7 +1683,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Blueprint", }); internal_static_google_cloud_config_v1_TerraformError_descriptor = - getDescriptor().getMessageType(16); + getDescriptor().getMessageType(21); internal_static_google_cloud_config_v1_TerraformError_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_TerraformError_descriptor, @@ -1335,7 +1691,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceAddress", "HttpResponseCode", "ErrorDescription", "Error", }); internal_static_google_cloud_config_v1_GitSource_descriptor = - getDescriptor().getMessageType(17); + getDescriptor().getMessageType(22); internal_static_google_cloud_config_v1_GitSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GitSource_descriptor, @@ -1343,14 +1699,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Repo", "Directory", "Ref", }); internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor = - getDescriptor().getMessageType(18); + getDescriptor().getMessageType(23); internal_static_google_cloud_config_v1_DeploymentOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_DeploymentOperationMetadata_descriptor, new java.lang.String[] { "Step", "ApplyResults", "Build", "Logs", }); - internal_static_google_cloud_config_v1_Resource_descriptor = getDescriptor().getMessageType(19); + internal_static_google_cloud_config_v1_Resource_descriptor = getDescriptor().getMessageType(24); internal_static_google_cloud_config_v1_Resource_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_Resource_descriptor, @@ -1366,7 +1722,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor = - getDescriptor().getMessageType(20); + getDescriptor().getMessageType(25); internal_static_google_cloud_config_v1_ResourceTerraformInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceTerraformInfo_descriptor, @@ -1374,7 +1730,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Type", "Id", }); internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor = - getDescriptor().getMessageType(21); + getDescriptor().getMessageType(26); internal_static_google_cloud_config_v1_ResourceCAIInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceCAIInfo_descriptor, @@ -1382,7 +1738,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FullResourceName", }); internal_static_google_cloud_config_v1_GetResourceRequest_descriptor = - getDescriptor().getMessageType(22); + getDescriptor().getMessageType(27); internal_static_google_cloud_config_v1_GetResourceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetResourceRequest_descriptor, @@ -1390,7 +1746,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor = - getDescriptor().getMessageType(23); + getDescriptor().getMessageType(28); internal_static_google_cloud_config_v1_ListResourcesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourcesRequest_descriptor, @@ -1398,7 +1754,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor = - getDescriptor().getMessageType(24); + getDescriptor().getMessageType(29); internal_static_google_cloud_config_v1_ListResourcesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourcesResponse_descriptor, @@ -1406,7 +1762,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Resources", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_Statefile_descriptor = - getDescriptor().getMessageType(25); + getDescriptor().getMessageType(30); internal_static_google_cloud_config_v1_Statefile_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_Statefile_descriptor, @@ -1414,7 +1770,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SignedUri", }); internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor = - getDescriptor().getMessageType(26); + getDescriptor().getMessageType(31); internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ExportDeploymentStatefileRequest_descriptor, @@ -1422,7 +1778,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "Draft", }); internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor = - getDescriptor().getMessageType(27); + getDescriptor().getMessageType(32); internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ExportRevisionStatefileRequest_descriptor, @@ -1430,7 +1786,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", }); internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor = - getDescriptor().getMessageType(28); + getDescriptor().getMessageType(33); internal_static_google_cloud_config_v1_ImportStatefileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ImportStatefileRequest_descriptor, @@ -1438,7 +1794,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "LockId", "SkipDraft", }); internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor = - getDescriptor().getMessageType(29); + getDescriptor().getMessageType(34); internal_static_google_cloud_config_v1_DeleteStatefileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_DeleteStatefileRequest_descriptor, @@ -1446,7 +1802,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "LockId", }); internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor = - getDescriptor().getMessageType(30); + getDescriptor().getMessageType(35); internal_static_google_cloud_config_v1_LockDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_LockDeploymentRequest_descriptor, @@ -1454,7 +1810,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor = - getDescriptor().getMessageType(31); + getDescriptor().getMessageType(36); internal_static_google_cloud_config_v1_UnlockDeploymentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_UnlockDeploymentRequest_descriptor, @@ -1462,21 +1818,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "LockId", }); internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor = - getDescriptor().getMessageType(32); + getDescriptor().getMessageType(37); internal_static_google_cloud_config_v1_ExportLockInfoRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ExportLockInfoRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_google_cloud_config_v1_LockInfo_descriptor = getDescriptor().getMessageType(33); + internal_static_google_cloud_config_v1_LockInfo_descriptor = getDescriptor().getMessageType(38); internal_static_google_cloud_config_v1_LockInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_LockInfo_descriptor, new java.lang.String[] { "LockId", "Operation", "Info", "Who", "Version", "CreateTime", }); - internal_static_google_cloud_config_v1_Preview_descriptor = getDescriptor().getMessageType(34); + internal_static_google_cloud_config_v1_Preview_descriptor = getDescriptor().getMessageType(39); internal_static_google_cloud_config_v1_Preview_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_Preview_descriptor, @@ -1521,7 +1877,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor = - getDescriptor().getMessageType(35); + getDescriptor().getMessageType(40); internal_static_google_cloud_config_v1_PreviewOperationMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_PreviewOperationMetadata_descriptor, @@ -1529,7 +1885,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Step", "PreviewArtifacts", "Logs", "Build", }); internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor = - getDescriptor().getMessageType(36); + getDescriptor().getMessageType(41); internal_static_google_cloud_config_v1_PreviewArtifacts_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_PreviewArtifacts_descriptor, @@ -1537,7 +1893,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Content", "Artifacts", }); internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor = - getDescriptor().getMessageType(37); + getDescriptor().getMessageType(42); internal_static_google_cloud_config_v1_CreatePreviewRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_CreatePreviewRequest_descriptor, @@ -1545,7 +1901,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PreviewId", "Preview", "RequestId", }); internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor = - getDescriptor().getMessageType(38); + getDescriptor().getMessageType(43); internal_static_google_cloud_config_v1_GetPreviewRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetPreviewRequest_descriptor, @@ -1553,7 +1909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor = - getDescriptor().getMessageType(39); + getDescriptor().getMessageType(44); internal_static_google_cloud_config_v1_ListPreviewsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListPreviewsRequest_descriptor, @@ -1561,7 +1917,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor = - getDescriptor().getMessageType(40); + getDescriptor().getMessageType(45); internal_static_google_cloud_config_v1_ListPreviewsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListPreviewsResponse_descriptor, @@ -1569,7 +1925,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Previews", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor = - getDescriptor().getMessageType(41); + getDescriptor().getMessageType(46); internal_static_google_cloud_config_v1_DeletePreviewRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_DeletePreviewRequest_descriptor, @@ -1577,7 +1933,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "RequestId", }); internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor = - getDescriptor().getMessageType(42); + getDescriptor().getMessageType(47); internal_static_google_cloud_config_v1_ExportPreviewResultRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ExportPreviewResultRequest_descriptor, @@ -1585,7 +1941,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", }); internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor = - getDescriptor().getMessageType(43); + getDescriptor().getMessageType(48); internal_static_google_cloud_config_v1_ExportPreviewResultResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ExportPreviewResultResponse_descriptor, @@ -1593,7 +1949,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Result", }); internal_static_google_cloud_config_v1_PreviewResult_descriptor = - getDescriptor().getMessageType(44); + getDescriptor().getMessageType(49); internal_static_google_cloud_config_v1_PreviewResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_PreviewResult_descriptor, @@ -1601,7 +1957,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BinarySignedUri", "JsonSignedUri", }); internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor = - getDescriptor().getMessageType(45); + getDescriptor().getMessageType(50); internal_static_google_cloud_config_v1_GetTerraformVersionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetTerraformVersionRequest_descriptor, @@ -1609,7 +1965,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor = - getDescriptor().getMessageType(46); + getDescriptor().getMessageType(51); internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListTerraformVersionsRequest_descriptor, @@ -1617,7 +1973,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor = - getDescriptor().getMessageType(47); + getDescriptor().getMessageType(52); internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListTerraformVersionsResponse_descriptor, @@ -1625,7 +1981,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TerraformVersions", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_TerraformVersion_descriptor = - getDescriptor().getMessageType(48); + getDescriptor().getMessageType(53); internal_static_google_cloud_config_v1_TerraformVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_TerraformVersion_descriptor, @@ -1633,7 +1989,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "State", "SupportTime", "DeprecateTime", "ObsoleteTime", }); internal_static_google_cloud_config_v1_ResourceChangeTerraformInfo_descriptor = - getDescriptor().getMessageType(49); + getDescriptor().getMessageType(54); internal_static_google_cloud_config_v1_ResourceChangeTerraformInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceChangeTerraformInfo_descriptor, @@ -1641,7 +1997,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Type", "ResourceName", "Provider", "Actions", }); internal_static_google_cloud_config_v1_ResourceChange_descriptor = - getDescriptor().getMessageType(50); + getDescriptor().getMessageType(55); internal_static_google_cloud_config_v1_ResourceChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceChange_descriptor, @@ -1649,7 +2005,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TerraformInfo", "Intent", "PropertyChanges", }); internal_static_google_cloud_config_v1_PropertyChange_descriptor = - getDescriptor().getMessageType(51); + getDescriptor().getMessageType(56); internal_static_google_cloud_config_v1_PropertyChange_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_PropertyChange_descriptor, @@ -1657,7 +2013,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Path", "BeforeSensitivePaths", "Before", "AfterSensitivePaths", "After", }); internal_static_google_cloud_config_v1_ListResourceChangesRequest_descriptor = - getDescriptor().getMessageType(52); + getDescriptor().getMessageType(57); internal_static_google_cloud_config_v1_ListResourceChangesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourceChangesRequest_descriptor, @@ -1665,7 +2021,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListResourceChangesResponse_descriptor = - getDescriptor().getMessageType(53); + getDescriptor().getMessageType(58); internal_static_google_cloud_config_v1_ListResourceChangesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourceChangesResponse_descriptor, @@ -1673,7 +2029,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceChanges", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_GetResourceChangeRequest_descriptor = - getDescriptor().getMessageType(54); + getDescriptor().getMessageType(59); internal_static_google_cloud_config_v1_GetResourceChangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetResourceChangeRequest_descriptor, @@ -1681,7 +2037,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ResourceDriftTerraformInfo_descriptor = - getDescriptor().getMessageType(55); + getDescriptor().getMessageType(60); internal_static_google_cloud_config_v1_ResourceDriftTerraformInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceDriftTerraformInfo_descriptor, @@ -1689,7 +2045,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Type", "ResourceName", "Provider", }); internal_static_google_cloud_config_v1_ResourceDrift_descriptor = - getDescriptor().getMessageType(56); + getDescriptor().getMessageType(61); internal_static_google_cloud_config_v1_ResourceDrift_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ResourceDrift_descriptor, @@ -1697,7 +2053,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "TerraformInfo", "PropertyDrifts", }); internal_static_google_cloud_config_v1_PropertyDrift_descriptor = - getDescriptor().getMessageType(57); + getDescriptor().getMessageType(62); internal_static_google_cloud_config_v1_PropertyDrift_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_PropertyDrift_descriptor, @@ -1705,7 +2061,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Path", "BeforeSensitivePaths", "Before", "AfterSensitivePaths", "After", }); internal_static_google_cloud_config_v1_ListResourceDriftsRequest_descriptor = - getDescriptor().getMessageType(58); + getDescriptor().getMessageType(63); internal_static_google_cloud_config_v1_ListResourceDriftsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourceDriftsRequest_descriptor, @@ -1713,7 +2069,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); internal_static_google_cloud_config_v1_ListResourceDriftsResponse_descriptor = - getDescriptor().getMessageType(59); + getDescriptor().getMessageType(64); internal_static_google_cloud_config_v1_ListResourceDriftsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ListResourceDriftsResponse_descriptor, @@ -1721,7 +2077,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourceDrifts", "NextPageToken", "Unreachable", }); internal_static_google_cloud_config_v1_GetResourceDriftRequest_descriptor = - getDescriptor().getMessageType(60); + getDescriptor().getMessageType(65); internal_static_google_cloud_config_v1_GetResourceDriftRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetResourceDriftRequest_descriptor, @@ -1729,7 +2085,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_ProviderConfig_descriptor = - getDescriptor().getMessageType(61); + getDescriptor().getMessageType(66); internal_static_google_cloud_config_v1_ProviderConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_ProviderConfig_descriptor, @@ -1737,7 +2093,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SourceType", }); internal_static_google_cloud_config_v1_GetAutoMigrationConfigRequest_descriptor = - getDescriptor().getMessageType(62); + getDescriptor().getMessageType(67); internal_static_google_cloud_config_v1_GetAutoMigrationConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_GetAutoMigrationConfigRequest_descriptor, @@ -1745,7 +2101,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", }); internal_static_google_cloud_config_v1_AutoMigrationConfig_descriptor = - getDescriptor().getMessageType(63); + getDescriptor().getMessageType(68); internal_static_google_cloud_config_v1_AutoMigrationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_AutoMigrationConfig_descriptor, @@ -1753,13 +2109,174 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "UpdateTime", "AutoMigrationEnabled", }); internal_static_google_cloud_config_v1_UpdateAutoMigrationConfigRequest_descriptor = - getDescriptor().getMessageType(64); + getDescriptor().getMessageType(69); internal_static_google_cloud_config_v1_UpdateAutoMigrationConfigRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_cloud_config_v1_UpdateAutoMigrationConfigRequest_descriptor, new java.lang.String[] { "UpdateMask", "AutoMigrationConfig", }); + internal_static_google_cloud_config_v1_DeploymentGroup_descriptor = + getDescriptor().getMessageType(70); + internal_static_google_cloud_config_v1_DeploymentGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentGroup_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Annotations", + "State", + "StateDescription", + "DeploymentUnits", + "ProvisioningState", + "ProvisioningStateDescription", + "ProvisioningError", + }); + internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_descriptor = + internal_static_google_cloud_config_v1_DeploymentGroup_descriptor.getNestedType(0); + internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_descriptor = + internal_static_google_cloud_config_v1_DeploymentGroup_descriptor.getNestedType(1); + internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_DeploymentUnit_descriptor = + getDescriptor().getMessageType(71); + internal_static_google_cloud_config_v1_DeploymentUnit_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentUnit_descriptor, + new java.lang.String[] { + "Id", "Deployment", "Dependencies", + }); + internal_static_google_cloud_config_v1_DeploymentSpec_descriptor = + getDescriptor().getMessageType(72); + internal_static_google_cloud_config_v1_DeploymentSpec_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentSpec_descriptor, + new java.lang.String[] { + "DeploymentId", "Deployment", + }); + internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(73); + internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor = + getDescriptor().getMessageType(74); + internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor = + getDescriptor().getMessageType(75); + internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor, + new java.lang.String[] { + "DeploymentGroups", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(76); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "Name", "DeploymentSpecs", + }); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_descriptor = + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor + .getNestedType(0); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor = + getDescriptor().getMessageType(77); + internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor, + new java.lang.String[] { + "Name", "Force", "DeletePolicy", + }); + internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor = + getDescriptor().getMessageType(78); + internal_static_google_cloud_config_v1_DeploymentOperationSummary_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor, + new java.lang.String[] { + "DeploymentStep", "Build", "Logs", "Content", "Artifacts", + }); + internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor = + getDescriptor().getMessageType(79); + internal_static_google_cloud_config_v1_DeploymentUnitProgress_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor, + new java.lang.String[] { + "UnitId", + "Deployment", + "State", + "StateDescription", + "DeploymentOperationSummary", + "Error", + "Intent", + }); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor = + getDescriptor().getMessageType(80); + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor, + new java.lang.String[] { + "Step", "DeploymentUnitProgresses", + }); + internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor = + getDescriptor().getMessageType(81); + internal_static_google_cloud_config_v1_DeploymentGroupRevision_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor, + new java.lang.String[] { + "Name", "Snapshot", "CreateTime", "AlternativeIds", + }); + internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor = + getDescriptor().getMessageType(82); + internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor = + getDescriptor().getMessageType(83); + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor = + getDescriptor().getMessageType(84); + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor, + new java.lang.String[] { + "DeploymentGroupRevisions", "NextPageToken", "Unreachable", + }); descriptor.resolveAllFeaturesImmutable(); com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ClientProto.getDescriptor(); diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequest.java new file mode 100644 index 000000000000..89e6334eb895 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequest.java @@ -0,0 +1,1413 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * A request to create a deployment group
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.CreateDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class CreateDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.CreateDeploymentGroupRequest) + CreateDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "CreateDeploymentGroupRequest"); + } + + // Use CreateDeploymentGroupRequest.newBuilder() to construct. + private CreateDeploymentGroupRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private CreateDeploymentGroupRequest() { + parent_ = ""; + deploymentGroupId_ = ""; + requestId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.CreateDeploymentGroupRequest.class, + com.google.cloud.config.v1.CreateDeploymentGroupRequest.Builder.class); + } + + private int bitField0_; + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
    +   * Required. The parent in whose context the Deployment Group is created. The
    +   * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The parent in whose context the Deployment Group is created. The
    +   * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_GROUP_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object deploymentGroupId_ = ""; + + /** + * + * + *
    +   * Required. The deployment group ID.
    +   * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentGroupId. + */ + @java.lang.Override + public java.lang.String getDeploymentGroupId() { + java.lang.Object ref = deploymentGroupId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deploymentGroupId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The deployment group ID.
    +   * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentGroupId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentGroupIdBytes() { + java.lang.Object ref = deploymentGroupId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deploymentGroupId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_GROUP_FIELD_NUMBER = 3; + private com.google.cloud.config.v1.DeploymentGroup deploymentGroup_; + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + @java.lang.Override + public boolean hasDeploymentGroup() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup() { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder() { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deploymentGroupId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, deploymentGroupId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(3, getDeploymentGroup()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deploymentGroupId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, deploymentGroupId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeploymentGroup()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.CreateDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.CreateDeploymentGroupRequest other = + (com.google.cloud.config.v1.CreateDeploymentGroupRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getDeploymentGroupId().equals(other.getDeploymentGroupId())) return false; + if (hasDeploymentGroup() != other.hasDeploymentGroup()) return false; + if (hasDeploymentGroup()) { + if (!getDeploymentGroup().equals(other.getDeploymentGroup())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + DEPLOYMENT_GROUP_ID_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentGroupId().hashCode(); + if (hasDeploymentGroup()) { + hash = (37 * hash) + DEPLOYMENT_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentGroup().hashCode(); + } + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.CreateDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A request to create a deployment group
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.CreateDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.CreateDeploymentGroupRequest) + com.google.cloud.config.v1.CreateDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.CreateDeploymentGroupRequest.class, + com.google.cloud.config.v1.CreateDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.CreateDeploymentGroupRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetDeploymentGroupFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + deploymentGroupId_ = ""; + deploymentGroup_ = null; + if (deploymentGroupBuilder_ != null) { + deploymentGroupBuilder_.dispose(); + deploymentGroupBuilder_ = null; + } + requestId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_CreateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.CreateDeploymentGroupRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.CreateDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.CreateDeploymentGroupRequest build() { + com.google.cloud.config.v1.CreateDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.CreateDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.CreateDeploymentGroupRequest result = + new com.google.cloud.config.v1.CreateDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.CreateDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deploymentGroupId_ = deploymentGroupId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.deploymentGroup_ = + deploymentGroupBuilder_ == null ? deploymentGroup_ : deploymentGroupBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.requestId_ = requestId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.CreateDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.CreateDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.CreateDeploymentGroupRequest other) { + if (other == com.google.cloud.config.v1.CreateDeploymentGroupRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDeploymentGroupId().isEmpty()) { + deploymentGroupId_ = other.deploymentGroupId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasDeploymentGroup()) { + mergeDeploymentGroup(other.getDeploymentGroup()); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000008; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deploymentGroupId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetDeploymentGroupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
    +     * Required. The parent in whose context the Deployment Group is created. The
    +     * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The parent in whose context the Deployment Group is created. The
    +     * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The parent in whose context the Deployment Group is created. The
    +     * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent in whose context the Deployment Group is created. The
    +     * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent in whose context the Deployment Group is created. The
    +     * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object deploymentGroupId_ = ""; + + /** + * + * + *
    +     * Required. The deployment group ID.
    +     * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentGroupId. + */ + public java.lang.String getDeploymentGroupId() { + java.lang.Object ref = deploymentGroupId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deploymentGroupId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The deployment group ID.
    +     * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentGroupId. + */ + public com.google.protobuf.ByteString getDeploymentGroupIdBytes() { + java.lang.Object ref = deploymentGroupId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deploymentGroupId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The deployment group ID.
    +     * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The deploymentGroupId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentGroupId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + deploymentGroupId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The deployment group ID.
    +     * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDeploymentGroupId() { + deploymentGroupId_ = getDefaultInstance().getDeploymentGroupId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The deployment group ID.
    +     * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for deploymentGroupId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentGroupIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deploymentGroupId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.config.v1.DeploymentGroup deploymentGroup_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + deploymentGroupBuilder_; + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + public boolean hasDeploymentGroup() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup() { + if (deploymentGroupBuilder_ == null) { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } else { + return deploymentGroupBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeploymentGroup(com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deploymentGroup_ = value; + } else { + deploymentGroupBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeploymentGroup( + com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (deploymentGroupBuilder_ == null) { + deploymentGroup_ = builderForValue.build(); + } else { + deploymentGroupBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDeploymentGroup(com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && deploymentGroup_ != null + && deploymentGroup_ + != com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()) { + getDeploymentGroupBuilder().mergeFrom(value); + } else { + deploymentGroup_ = value; + } + } else { + deploymentGroupBuilder_.mergeFrom(value); + } + if (deploymentGroup_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDeploymentGroup() { + bitField0_ = (bitField0_ & ~0x00000004); + deploymentGroup_ = null; + if (deploymentGroupBuilder_ != null) { + deploymentGroupBuilder_.dispose(); + deploymentGroupBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder getDeploymentGroupBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetDeploymentGroupFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder() { + if (deploymentGroupBuilder_ != null) { + return deploymentGroupBuilder_.getMessageOrBuilder(); + } else { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + } + + /** + * + * + *
    +     * Required. [Deployment Group][] resource to create
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + internalGetDeploymentGroupFieldBuilder() { + if (deploymentGroupBuilder_ == null) { + deploymentGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder>( + getDeploymentGroup(), getParentForChildren(), isClean()); + deploymentGroup_ = null; + } + return deploymentGroupBuilder_; + } + + private java.lang.Object requestId_ = ""; + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.CreateDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.CreateDeploymentGroupRequest) + private static final com.google.cloud.config.v1.CreateDeploymentGroupRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.CreateDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.CreateDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.CreateDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..054231e48744 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/CreateDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,183 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface CreateDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.CreateDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The parent in whose context the Deployment Group is created. The
    +   * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
    +   * Required. The parent in whose context the Deployment Group is created. The
    +   * parent value is in the format: 'projects/{project_id}/locations/{location}'
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * Required. The deployment group ID.
    +   * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentGroupId. + */ + java.lang.String getDeploymentGroupId(); + + /** + * + * + *
    +   * Required. The deployment group ID.
    +   * 
    + * + * string deployment_group_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentGroupId. + */ + com.google.protobuf.ByteString getDeploymentGroupIdBytes(); + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + boolean hasDeploymentGroup(); + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup(); + + /** + * + * + *
    +   * Required. [Deployment Group][] resource to create
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 3 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequest.java new file mode 100644 index 000000000000..fa43f62308ca --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequest.java @@ -0,0 +1,1437 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * Request message for Delete DeploymentGroup
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeleteDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class DeleteDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeleteDeploymentGroupRequest) + DeleteDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeleteDeploymentGroupRequest"); + } + + // Use DeleteDeploymentGroupRequest.newBuilder() to construct. + private DeleteDeploymentGroupRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeleteDeploymentGroupRequest() { + name_ = ""; + requestId_ = ""; + deploymentReferencePolicy_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.class, + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.Builder.class); + } + + /** + * + * + *
    +   * Policy on how to handle referenced deployments when deleting the
    +   * DeploymentGroup.
    +   * 
    + * + * Protobuf enum {@code + * google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy} + */ + public enum DeploymentReferencePolicy implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * The default behavior. If unspecified, the system will act as if
    +     * `FAIL_IF_ANY_REFERENCES_EXIST` is specified.
    +     * 
    + * + * DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED = 0; + */ + DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED(0), + /** + * + * + *
    +     * Fail the deletion if any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup or in the latest revision
    +     * are not deleted.
    +     * 
    + * + * FAIL_IF_ANY_REFERENCES_EXIST = 1; + */ + FAIL_IF_ANY_REFERENCES_EXIST(1), + /** + * + * + *
    +     * Fail the deletion only if any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup are not deleted.
    +     * The deletion will proceed even if the deployments in the latest revision
    +     * of the DeploymentGroup are not deleted.
    +     * 
    + * + * FAIL_IF_METADATA_REFERENCES_EXIST = 2; + */ + FAIL_IF_METADATA_REFERENCES_EXIST(2), + /** + * + * + *
    +     * Ignore any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup or in the latest revision.
    +     * 
    + * + * IGNORE_DEPLOYMENT_REFERENCES = 3; + */ + IGNORE_DEPLOYMENT_REFERENCES(3), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentReferencePolicy"); + } + + /** + * + * + *
    +     * The default behavior. If unspecified, the system will act as if
    +     * `FAIL_IF_ANY_REFERENCES_EXIST` is specified.
    +     * 
    + * + * DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED = 0; + */ + public static final int DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * Fail the deletion if any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup or in the latest revision
    +     * are not deleted.
    +     * 
    + * + * FAIL_IF_ANY_REFERENCES_EXIST = 1; + */ + public static final int FAIL_IF_ANY_REFERENCES_EXIST_VALUE = 1; + + /** + * + * + *
    +     * Fail the deletion only if any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup are not deleted.
    +     * The deletion will proceed even if the deployments in the latest revision
    +     * of the DeploymentGroup are not deleted.
    +     * 
    + * + * FAIL_IF_METADATA_REFERENCES_EXIST = 2; + */ + public static final int FAIL_IF_METADATA_REFERENCES_EXIST_VALUE = 2; + + /** + * + * + *
    +     * Ignore any deployments currently referenced in the
    +     * `deployment_units` of the DeploymentGroup or in the latest revision.
    +     * 
    + * + * IGNORE_DEPLOYMENT_REFERENCES = 3; + */ + public static final int IGNORE_DEPLOYMENT_REFERENCES_VALUE = 3; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static DeploymentReferencePolicy valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static DeploymentReferencePolicy forNumber(int value) { + switch (value) { + case 0: + return DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED; + case 1: + return FAIL_IF_ANY_REFERENCES_EXIST; + case 2: + return FAIL_IF_METADATA_REFERENCES_EXIST; + case 3: + return IGNORE_DEPLOYMENT_REFERENCES; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public DeploymentReferencePolicy findValueByNumber(int number) { + return DeploymentReferencePolicy.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeleteDeploymentGroupRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final DeploymentReferencePolicy[] VALUES = values(); + + public static DeploymentReferencePolicy valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private DeploymentReferencePolicy(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy) + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Required. The name of DeploymentGroup in the format
    +   * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of DeploymentGroup in the format
    +   * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes after the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes after the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FORCE_FIELD_NUMBER = 3; + private boolean force_ = false; + + /** + * + * + *
    +   * Optional. If set to true, any revisions for this deployment group will also
    +   * be deleted. (Otherwise, the request will only work if the deployment group
    +   * has no revisions.)
    +   * 
    + * + * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + + public static final int DEPLOYMENT_REFERENCE_POLICY_FIELD_NUMBER = 4; + private int deploymentReferencePolicy_ = 0; + + /** + * + * + *
    +   * Optional. Policy on how to handle referenced deployments when deleting the
    +   * DeploymentGroup.
    +   * If unspecified, the default behavior is to fail the deletion if any
    +   * deployments currently referenced in the `deployment_units` of the
    +   * DeploymentGroup or in the latest revision are not deleted.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentReferencePolicy. + */ + @java.lang.Override + public int getDeploymentReferencePolicyValue() { + return deploymentReferencePolicy_; + } + + /** + * + * + *
    +   * Optional. Policy on how to handle referenced deployments when deleting the
    +   * DeploymentGroup.
    +   * If unspecified, the default behavior is to fail the deletion if any
    +   * deployments currently referenced in the `deployment_units` of the
    +   * DeploymentGroup or in the latest revision are not deleted.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentReferencePolicy. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + getDeploymentReferencePolicy() { + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy result = + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy.forNumber( + deploymentReferencePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + .UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, requestId_); + } + if (force_ != false) { + output.writeBool(3, force_); + } + if (deploymentReferencePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + .DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(4, deploymentReferencePolicy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, requestId_); + } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, force_); + } + if (deploymentReferencePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + .DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, deploymentReferencePolicy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeleteDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeleteDeploymentGroupRequest other = + (com.google.cloud.config.v1.DeleteDeploymentGroupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getRequestId().equals(other.getRequestId())) return false; + if (getForce() != other.getForce()) return false; + if (deploymentReferencePolicy_ != other.deploymentReferencePolicy_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (37 * hash) + DEPLOYMENT_REFERENCE_POLICY_FIELD_NUMBER; + hash = (53 * hash) + deploymentReferencePolicy_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * Request message for Delete DeploymentGroup
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeleteDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeleteDeploymentGroupRequest) + com.google.cloud.config.v1.DeleteDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.class, + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeleteDeploymentGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + requestId_ = ""; + force_ = false; + deploymentReferencePolicy_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeleteDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeleteDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest build() { + com.google.cloud.config.v1.DeleteDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.DeleteDeploymentGroupRequest result = + new com.google.cloud.config.v1.DeleteDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeleteDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.requestId_ = requestId_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.force_ = force_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.deploymentReferencePolicy_ = deploymentReferencePolicy_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeleteDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.DeleteDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeleteDeploymentGroupRequest other) { + if (other == com.google.cloud.config.v1.DeleteDeploymentGroupRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getForce() != false) { + setForce(other.getForce()); + } + if (other.deploymentReferencePolicy_ != 0) { + setDeploymentReferencePolicyValue(other.getDeploymentReferencePolicyValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + force_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + deploymentReferencePolicy_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Required. The name of DeploymentGroup in the format
    +     * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of DeploymentGroup in the format
    +     * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of DeploymentGroup in the format
    +     * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of DeploymentGroup in the format
    +     * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of DeploymentGroup in the format
    +     * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object requestId_ = ""; + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes after the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes after the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes after the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes after the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes after the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private boolean force_; + + /** + * + * + *
    +     * Optional. If set to true, any revisions for this deployment group will also
    +     * be deleted. (Otherwise, the request will only work if the deployment group
    +     * has no revisions.)
    +     * 
    + * + * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + + /** + * + * + *
    +     * Optional. If set to true, any revisions for this deployment group will also
    +     * be deleted. (Otherwise, the request will only work if the deployment group
    +     * has no revisions.)
    +     * 
    + * + * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. If set to true, any revisions for this deployment group will also
    +     * be deleted. (Otherwise, the request will only work if the deployment group
    +     * has no revisions.)
    +     * 
    + * + * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearForce() { + bitField0_ = (bitField0_ & ~0x00000004); + force_ = false; + onChanged(); + return this; + } + + private int deploymentReferencePolicy_ = 0; + + /** + * + * + *
    +     * Optional. Policy on how to handle referenced deployments when deleting the
    +     * DeploymentGroup.
    +     * If unspecified, the default behavior is to fail the deletion if any
    +     * deployments currently referenced in the `deployment_units` of the
    +     * DeploymentGroup or in the latest revision are not deleted.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentReferencePolicy. + */ + @java.lang.Override + public int getDeploymentReferencePolicyValue() { + return deploymentReferencePolicy_; + } + + /** + * + * + *
    +     * Optional. Policy on how to handle referenced deployments when deleting the
    +     * DeploymentGroup.
    +     * If unspecified, the default behavior is to fail the deletion if any
    +     * deployments currently referenced in the `deployment_units` of the
    +     * DeploymentGroup or in the latest revision are not deleted.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for deploymentReferencePolicy to set. + * @return This builder for chaining. + */ + public Builder setDeploymentReferencePolicyValue(int value) { + deploymentReferencePolicy_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Policy on how to handle referenced deployments when deleting the
    +     * DeploymentGroup.
    +     * If unspecified, the default behavior is to fail the deletion if any
    +     * deployments currently referenced in the `deployment_units` of the
    +     * DeploymentGroup or in the latest revision are not deleted.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentReferencePolicy. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + getDeploymentReferencePolicy() { + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy result = + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + .forNumber(deploymentReferencePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + .UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Optional. Policy on how to handle referenced deployments when deleting the
    +     * DeploymentGroup.
    +     * If unspecified, the default behavior is to fail the deletion if any
    +     * deployments currently referenced in the `deployment_units` of the
    +     * DeploymentGroup or in the latest revision are not deleted.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The deploymentReferencePolicy to set. + * @return This builder for chaining. + */ + public Builder setDeploymentReferencePolicy( + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + deploymentReferencePolicy_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Policy on how to handle referenced deployments when deleting the
    +     * DeploymentGroup.
    +     * If unspecified, the default behavior is to fail the deletion if any
    +     * deployments currently referenced in the `deployment_units` of the
    +     * DeploymentGroup or in the latest revision are not deleted.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDeploymentReferencePolicy() { + bitField0_ = (bitField0_ & ~0x00000008); + deploymentReferencePolicy_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeleteDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeleteDeploymentGroupRequest) + private static final com.google.cloud.config.v1.DeleteDeploymentGroupRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeleteDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.DeleteDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..22e07142a892 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeleteDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,168 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeleteDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeleteDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The name of DeploymentGroup in the format
    +   * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Required. The name of DeploymentGroup in the format
    +   * projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup}
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes after the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes after the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); + + /** + * + * + *
    +   * Optional. If set to true, any revisions for this deployment group will also
    +   * be deleted. (Otherwise, the request will only work if the deployment group
    +   * has no revisions.)
    +   * 
    + * + * bool force = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); + + /** + * + * + *
    +   * Optional. Policy on how to handle referenced deployments when deleting the
    +   * DeploymentGroup.
    +   * If unspecified, the default behavior is to fail the deletion if any
    +   * deployments currently referenced in the `deployment_units` of the
    +   * DeploymentGroup or in the latest revision are not deleted.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deploymentReferencePolicy. + */ + int getDeploymentReferencePolicyValue(); + + /** + * + * + *
    +   * Optional. Policy on how to handle referenced deployments when deleting the
    +   * DeploymentGroup.
    +   * If unspecified, the default behavior is to fail the deletion if any
    +   * deployments currently referenced in the `deployment_units` of the
    +   * DeploymentGroup or in the latest revision are not deleted.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy deployment_reference_policy = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deploymentReferencePolicy. + */ + com.google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy + getDeploymentReferencePolicy(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroup.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroup.java new file mode 100644 index 000000000000..7af2af3faffc --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroup.java @@ -0,0 +1,4163 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
    + * structure.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentGroup} + */ +@com.google.protobuf.Generated +public final class DeploymentGroup extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentGroup) + DeploymentGroupOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentGroup"); + } + + // Use DeploymentGroup.newBuilder() to construct. + private DeploymentGroup(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentGroup() { + name_ = ""; + state_ = 0; + stateDescription_ = ""; + deploymentUnits_ = java.util.Collections.emptyList(); + provisioningState_ = 0; + provisioningStateDescription_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentGroup.class, + com.google.cloud.config.v1.DeploymentGroup.Builder.class); + } + + /** + * + * + *
    +   * Possible states of a deployment group.
    +   * 
    + * + * Protobuf enum {@code google.cloud.config.v1.DeploymentGroup.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * The default value. This value is used if the state is omitted.
    +     * 
    + * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
    +     * The deployment group is being created.
    +     * 
    + * + * CREATING = 1; + */ + CREATING(1), + /** + * + * + *
    +     * The deployment group is healthy.
    +     * 
    + * + * ACTIVE = 2; + */ + ACTIVE(2), + /** + * + * + *
    +     * The deployment group is being updated.
    +     * 
    + * + * UPDATING = 3; + */ + UPDATING(3), + /** + * + * + *
    +     * The deployment group is being deleted.
    +     * 
    + * + * DELETING = 4; + */ + DELETING(4), + /** + * + * + *
    +     * The deployment group has encountered an unexpected error.
    +     * 
    + * + * FAILED = 5; + */ + FAILED(5), + /** + * + * + *
    +     * The deployment group is no longer being actively reconciled.
    +     * This may be the result of recovering the project after deletion.
    +     * 
    + * + * SUSPENDED = 6; + */ + SUSPENDED(6), + /** + * + * + *
    +     * The deployment group has been deleted.
    +     * 
    + * + * DELETED = 7; + */ + DELETED(7), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + + /** + * + * + *
    +     * The default value. This value is used if the state is omitted.
    +     * 
    + * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * The deployment group is being created.
    +     * 
    + * + * CREATING = 1; + */ + public static final int CREATING_VALUE = 1; + + /** + * + * + *
    +     * The deployment group is healthy.
    +     * 
    + * + * ACTIVE = 2; + */ + public static final int ACTIVE_VALUE = 2; + + /** + * + * + *
    +     * The deployment group is being updated.
    +     * 
    + * + * UPDATING = 3; + */ + public static final int UPDATING_VALUE = 3; + + /** + * + * + *
    +     * The deployment group is being deleted.
    +     * 
    + * + * DELETING = 4; + */ + public static final int DELETING_VALUE = 4; + + /** + * + * + *
    +     * The deployment group has encountered an unexpected error.
    +     * 
    + * + * FAILED = 5; + */ + public static final int FAILED_VALUE = 5; + + /** + * + * + *
    +     * The deployment group is no longer being actively reconciled.
    +     * This may be the result of recovering the project after deletion.
    +     * 
    + * + * SUSPENDED = 6; + */ + public static final int SUSPENDED_VALUE = 6; + + /** + * + * + *
    +     * The deployment group has been deleted.
    +     * 
    + * + * DELETED = 7; + */ + public static final int DELETED_VALUE = 7; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return CREATING; + case 2: + return ACTIVE; + case 3: + return UPDATING; + case 4: + return DELETING; + case 5: + return FAILED; + case 6: + return SUSPENDED; + case 7: + return DELETED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeploymentGroup.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.DeploymentGroup.State) + } + + /** + * + * + *
    +   * Possible provisioning states of a deployment group.
    +   * 
    + * + * Protobuf enum {@code google.cloud.config.v1.DeploymentGroup.ProvisioningState} + */ + public enum ProvisioningState implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * Unspecified provisioning state.
    +     * 
    + * + * PROVISIONING_STATE_UNSPECIFIED = 0; + */ + PROVISIONING_STATE_UNSPECIFIED(0), + /** + * + * + *
    +     * The deployment group is being provisioned.
    +     * 
    + * + * PROVISIONING = 1; + */ + PROVISIONING(1), + /** + * + * + *
    +     * The deployment group is provisioned.
    +     * 
    + * + * PROVISIONED = 2; + */ + PROVISIONED(2), + /** + * + * + *
    +     * The deployment group failed to be provisioned.
    +     * 
    + * + * FAILED_TO_PROVISION = 3; + */ + FAILED_TO_PROVISION(3), + /** + * + * + *
    +     * The deployment group is being deprovisioned.
    +     * 
    + * + * DEPROVISIONING = 4; + */ + DEPROVISIONING(4), + /** + * + * + *
    +     * The deployment group is deprovisioned.
    +     * 
    + * + * DEPROVISIONED = 5; + */ + DEPROVISIONED(5), + /** + * + * + *
    +     * The deployment group failed to be deprovisioned.
    +     * 
    + * + * FAILED_TO_DEPROVISION = 6; + */ + FAILED_TO_DEPROVISION(6), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ProvisioningState"); + } + + /** + * + * + *
    +     * Unspecified provisioning state.
    +     * 
    + * + * PROVISIONING_STATE_UNSPECIFIED = 0; + */ + public static final int PROVISIONING_STATE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * The deployment group is being provisioned.
    +     * 
    + * + * PROVISIONING = 1; + */ + public static final int PROVISIONING_VALUE = 1; + + /** + * + * + *
    +     * The deployment group is provisioned.
    +     * 
    + * + * PROVISIONED = 2; + */ + public static final int PROVISIONED_VALUE = 2; + + /** + * + * + *
    +     * The deployment group failed to be provisioned.
    +     * 
    + * + * FAILED_TO_PROVISION = 3; + */ + public static final int FAILED_TO_PROVISION_VALUE = 3; + + /** + * + * + *
    +     * The deployment group is being deprovisioned.
    +     * 
    + * + * DEPROVISIONING = 4; + */ + public static final int DEPROVISIONING_VALUE = 4; + + /** + * + * + *
    +     * The deployment group is deprovisioned.
    +     * 
    + * + * DEPROVISIONED = 5; + */ + public static final int DEPROVISIONED_VALUE = 5; + + /** + * + * + *
    +     * The deployment group failed to be deprovisioned.
    +     * 
    + * + * FAILED_TO_DEPROVISION = 6; + */ + public static final int FAILED_TO_DEPROVISION_VALUE = 6; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ProvisioningState valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ProvisioningState forNumber(int value) { + switch (value) { + case 0: + return PROVISIONING_STATE_UNSPECIFIED; + case 1: + return PROVISIONING; + case 2: + return PROVISIONED; + case 3: + return FAILED_TO_PROVISION; + case 4: + return DEPROVISIONING; + case 5: + return DEPROVISIONED; + case 6: + return FAILED_TO_DEPROVISION; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProvisioningState findValueByNumber(int number) { + return ProvisioningState.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeploymentGroup.getDescriptor().getEnumTypes().get(1); + } + + private static final ProvisioningState[] VALUES = values(); + + public static ProvisioningState valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ProvisioningState(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.DeploymentGroup.ProvisioningState) + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Identifier. The name of the deployment group.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Identifier. The name of the deployment group.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CREATE_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp createTime_; + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int UPDATE_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp updateTime_; + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + @java.lang.Override + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getUpdateTime() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + } + + public static final int LABELS_FIELD_NUMBER = 4; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int ANNOTATIONS_FIELD_NUMBER = 5; + + private static final class AnnotationsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getAnnotationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int STATE_FIELD_NUMBER = 6; + private int state_ = 0; + + /** + * + * + *
    +   * Output only. Current state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
    +   * Output only. Current state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup.State getState() { + com.google.cloud.config.v1.DeploymentGroup.State result = + com.google.cloud.config.v1.DeploymentGroup.State.forNumber(state_); + return result == null ? com.google.cloud.config.v1.DeploymentGroup.State.UNRECOGNIZED : result; + } + + public static final int STATE_DESCRIPTION_FIELD_NUMBER = 7; + + @SuppressWarnings("serial") + private volatile java.lang.Object stateDescription_ = ""; + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + @java.lang.Override + public java.lang.String getStateDescription() { + java.lang.Object ref = stateDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stateDescription_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStateDescriptionBytes() { + java.lang.Object ref = stateDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + stateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_UNITS_FIELD_NUMBER = 8; + + @SuppressWarnings("serial") + private java.util.List deploymentUnits_; + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + @java.lang.Override + public java.util.List getDeploymentUnitsList() { + return deploymentUnits_; + } + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + @java.lang.Override + public java.util.List + getDeploymentUnitsOrBuilderList() { + return deploymentUnits_; + } + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + @java.lang.Override + public int getDeploymentUnitsCount() { + return deploymentUnits_.size(); + } + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnit getDeploymentUnits(int index) { + return deploymentUnits_.get(index); + } + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitOrBuilder getDeploymentUnitsOrBuilder(int index) { + return deploymentUnits_.get(index); + } + + public static final int PROVISIONING_STATE_FIELD_NUMBER = 9; + private int provisioningState_ = 0; + + /** + * + * + *
    +   * Output only. The provisioning state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for provisioningState. + */ + @java.lang.Override + public int getProvisioningStateValue() { + return provisioningState_; + } + + /** + * + * + *
    +   * Output only. The provisioning state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningState. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup.ProvisioningState getProvisioningState() { + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState result = + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState.forNumber(provisioningState_); + return result == null + ? com.google.cloud.config.v1.DeploymentGroup.ProvisioningState.UNRECOGNIZED + : result; + } + + public static final int PROVISIONING_STATE_DESCRIPTION_FIELD_NUMBER = 10; + + @SuppressWarnings("serial") + private volatile java.lang.Object provisioningStateDescription_ = ""; + + /** + * + * + *
    +   * Output only. Additional information regarding the current provisioning
    +   * state.
    +   * 
    + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningStateDescription. + */ + @java.lang.Override + public java.lang.String getProvisioningStateDescription() { + java.lang.Object ref = provisioningStateDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + provisioningStateDescription_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Additional information regarding the current provisioning
    +   * state.
    +   * 
    + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for provisioningStateDescription. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProvisioningStateDescriptionBytes() { + java.lang.Object ref = provisioningStateDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + provisioningStateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROVISIONING_ERROR_FIELD_NUMBER = 11; + private com.google.rpc.Status provisioningError_; + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisioningError field is set. + */ + @java.lang.Override + public boolean hasProvisioningError() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningError. + */ + @java.lang.Override + public com.google.rpc.Status getProvisioningError() { + return provisioningError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : provisioningError_; + } + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getProvisioningErrorOrBuilder() { + return provisioningError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : provisioningError_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getUpdateTime()); + } + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + if (state_ != com.google.cloud.config.v1.DeploymentGroup.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(6, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stateDescription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, stateDescription_); + } + for (int i = 0; i < deploymentUnits_.size(); i++) { + output.writeMessage(8, deploymentUnits_.get(i)); + } + if (provisioningState_ + != com.google.cloud.config.v1.DeploymentGroup.ProvisioningState + .PROVISIONING_STATE_UNSPECIFIED + .getNumber()) { + output.writeEnum(9, provisioningState_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(provisioningStateDescription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 10, provisioningStateDescription_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(11, getProvisioningError()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry : + internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry annotations__ = + AnnotationsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + } + if (state_ != com.google.cloud.config.v1.DeploymentGroup.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stateDescription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, stateDescription_); + } + for (int i = 0; i < deploymentUnits_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, deploymentUnits_.get(i)); + } + if (provisioningState_ + != com.google.cloud.config.v1.DeploymentGroup.ProvisioningState + .PROVISIONING_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, provisioningState_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(provisioningStateDescription_)) { + size += + com.google.protobuf.GeneratedMessage.computeStringSize(10, provisioningStateDescription_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getProvisioningError()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentGroup)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentGroup other = + (com.google.cloud.config.v1.DeploymentGroup) obj; + + if (!getName().equals(other.getName())) return false; + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (hasUpdateTime() != other.hasUpdateTime()) return false; + if (hasUpdateTime()) { + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (state_ != other.state_) return false; + if (!getStateDescription().equals(other.getStateDescription())) return false; + if (!getDeploymentUnitsList().equals(other.getDeploymentUnitsList())) return false; + if (provisioningState_ != other.provisioningState_) return false; + if (!getProvisioningStateDescription().equals(other.getProvisioningStateDescription())) + return false; + if (hasProvisioningError() != other.hasProvisioningError()) return false; + if (hasProvisioningError()) { + if (!getProvisioningError().equals(other.getProvisioningError())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (hasUpdateTime()) { + hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getUpdateTime().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (!internalGetAnnotations().getMap().isEmpty()) { + hash = (37 * hash) + ANNOTATIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetAnnotations().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + STATE_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getStateDescription().hashCode(); + if (getDeploymentUnitsCount() > 0) { + hash = (37 * hash) + DEPLOYMENT_UNITS_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentUnitsList().hashCode(); + } + hash = (37 * hash) + PROVISIONING_STATE_FIELD_NUMBER; + hash = (53 * hash) + provisioningState_; + hash = (37 * hash) + PROVISIONING_STATE_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getProvisioningStateDescription().hashCode(); + if (hasProvisioningError()) { + hash = (37 * hash) + PROVISIONING_ERROR_FIELD_NUMBER; + hash = (53 * hash) + getProvisioningError().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroup parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentGroup prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like
    +   * structure.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentGroup} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentGroup) + com.google.cloud.config.v1.DeploymentGroupOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetLabels(); + case 5: + return internalGetAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 4: + return internalGetMutableLabels(); + case 5: + return internalGetMutableAnnotations(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentGroup.class, + com.google.cloud.config.v1.DeploymentGroup.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentGroup.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); + internalGetDeploymentUnitsFieldBuilder(); + internalGetProvisioningErrorFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + internalGetMutableLabels().clear(); + internalGetMutableAnnotations().clear(); + state_ = 0; + stateDescription_ = ""; + if (deploymentUnitsBuilder_ == null) { + deploymentUnits_ = java.util.Collections.emptyList(); + } else { + deploymentUnits_ = null; + deploymentUnitsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + provisioningState_ = 0; + provisioningStateDescription_ = ""; + provisioningError_ = null; + if (provisioningErrorBuilder_ != null) { + provisioningErrorBuilder_.dispose(); + provisioningErrorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroup_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup build() { + com.google.cloud.config.v1.DeploymentGroup result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup buildPartial() { + com.google.cloud.config.v1.DeploymentGroup result = + new com.google.cloud.config.v1.DeploymentGroup(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.config.v1.DeploymentGroup result) { + if (deploymentUnitsBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0)) { + deploymentUnits_ = java.util.Collections.unmodifiableList(deploymentUnits_); + bitField0_ = (bitField0_ & ~0x00000080); + } + result.deploymentUnits_ = deploymentUnits_; + } else { + result.deploymentUnits_ = deploymentUnitsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentGroup result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.annotations_ = internalGetAnnotations(); + result.annotations_.makeImmutable(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.stateDescription_ = stateDescription_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.provisioningState_ = provisioningState_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.provisioningStateDescription_ = provisioningStateDescription_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.provisioningError_ = + provisioningErrorBuilder_ == null + ? provisioningError_ + : provisioningErrorBuilder_.build(); + to_bitField0_ |= 0x00000004; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentGroup) { + return mergeFrom((com.google.cloud.config.v1.DeploymentGroup) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentGroup other) { + if (other == com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (other.hasUpdateTime()) { + mergeUpdateTime(other.getUpdateTime()); + } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + bitField0_ |= 0x00000008; + internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + bitField0_ |= 0x00000010; + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (!other.getStateDescription().isEmpty()) { + stateDescription_ = other.stateDescription_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (deploymentUnitsBuilder_ == null) { + if (!other.deploymentUnits_.isEmpty()) { + if (deploymentUnits_.isEmpty()) { + deploymentUnits_ = other.deploymentUnits_; + bitField0_ = (bitField0_ & ~0x00000080); + } else { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.addAll(other.deploymentUnits_); + } + onChanged(); + } + } else { + if (!other.deploymentUnits_.isEmpty()) { + if (deploymentUnitsBuilder_.isEmpty()) { + deploymentUnitsBuilder_.dispose(); + deploymentUnitsBuilder_ = null; + deploymentUnits_ = other.deploymentUnits_; + bitField0_ = (bitField0_ & ~0x00000080); + deploymentUnitsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDeploymentUnitsFieldBuilder() + : null; + } else { + deploymentUnitsBuilder_.addAllMessages(other.deploymentUnits_); + } + } + } + if (other.provisioningState_ != 0) { + setProvisioningStateValue(other.getProvisioningStateValue()); + } + if (!other.getProvisioningStateDescription().isEmpty()) { + provisioningStateDescription_ = other.provisioningStateDescription_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (other.hasProvisioningError()) { + mergeProvisioningError(other.getProvisioningError()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + com.google.protobuf.MapEntry annotations__ = + input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableAnnotations() + .getMutableMap() + .put(annotations__.getKey(), annotations__.getValue()); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 58: + { + stateDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + com.google.cloud.config.v1.DeploymentUnit m = + input.readMessage( + com.google.cloud.config.v1.DeploymentUnit.parser(), extensionRegistry); + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.add(m); + } else { + deploymentUnitsBuilder_.addMessage(m); + } + break; + } // case 66 + case 72: + { + provisioningState_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 82: + { + provisioningStateDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + input.readMessage( + internalGetProvisioningErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 90 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Identifier. The name of the deployment group.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000002); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetCreateTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.Timestamp updateTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + public boolean hasUpdateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + public com.google.protobuf.Timestamp getUpdateTime() { + if (updateTimeBuilder_ == null) { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } else { + return updateTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateTime_ = value; + } else { + updateTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (updateTimeBuilder_ == null) { + updateTime_ = builderForValue.build(); + } else { + updateTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { + if (updateTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && updateTime_ != null + && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getUpdateTimeBuilder().mergeFrom(value); + } else { + updateTime_ = value; + } + } else { + updateTimeBuilder_.mergeFrom(value); + } + if (updateTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearUpdateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + updateTime_ = null; + if (updateTimeBuilder_ != null) { + updateTimeBuilder_.dispose(); + updateTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { + if (updateTimeBuilder_ != null) { + return updateTimeBuilder_.getMessageOrBuilder(); + } else { + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group was last updated.
    +     * 
    + * + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetUpdateTimeFieldBuilder() { + if (updateTimeBuilder_ == null) { + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); + updateTime_ = null; + } + return updateTimeBuilder_; + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000008; + onChanged(); + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public /* nullable */ java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + bitField0_ |= 0x00000008; + return internalGetMutableLabels().getMutableMap(); + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); + bitField0_ |= 0x00000008; + return this; + } + + /** + * + * + *
    +     * Optional. User-defined metadata for the deployment group.
    +     * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + bitField0_ |= 0x00000008; + return this; + } + + private com.google.protobuf.MapField annotations_; + + private com.google.protobuf.MapField + internalGetAnnotations() { + if (annotations_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); + } + return annotations_; + } + + private com.google.protobuf.MapField + internalGetMutableAnnotations() { + if (annotations_ == null) { + annotations_ = + com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + } + if (!annotations_.isMutable()) { + annotations_ = annotations_.copy(); + } + bitField0_ |= 0x00000010; + onChanged(); + return annotations_; + } + + public int getAnnotationsCount() { + return internalGetAnnotations().getMap().size(); + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetAnnotations().getMap().containsKey(key); + } + + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAnnotations() { + return getAnnotationsMap(); + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map getAnnotationsMap() { + return internalGetAnnotations().getMap(); + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ java.lang.String getAnnotationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.lang.String getAnnotationsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetAnnotations().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearAnnotations() { + bitField0_ = (bitField0_ & ~0x00000010); + internalGetMutableAnnotations().getMutableMap().clear(); + return this; + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeAnnotations(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableAnnotations().getMutableMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableAnnotations() { + bitField0_ |= 0x00000010; + return internalGetMutableAnnotations().getMutableMap(); + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAnnotations(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableAnnotations().getMutableMap().put(key, value); + bitField0_ |= 0x00000010; + return this; + } + + /** + * + * + *
    +     * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +     * identify deployment group during automation. See
    +     * https://google.aip.dev/148#annotations for details on format and size
    +     * limitations.
    +     * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllAnnotations(java.util.Map values) { + internalGetMutableAnnotations().getMutableMap().putAll(values); + bitField0_ |= 0x00000010; + return this; + } + + private int state_ = 0; + + /** + * + * + *
    +     * Output only. Current state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
    +     * Output only. Current state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Current state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup.State getState() { + com.google.cloud.config.v1.DeploymentGroup.State result = + com.google.cloud.config.v1.DeploymentGroup.State.forNumber(state_); + return result == null + ? com.google.cloud.config.v1.DeploymentGroup.State.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. Current state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.config.v1.DeploymentGroup.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + state_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Current state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000020); + state_ = 0; + onChanged(); + return this; + } + + private java.lang.Object stateDescription_ = ""; + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + public java.lang.String getStateDescription() { + java.lang.Object ref = stateDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stateDescription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + public com.google.protobuf.ByteString getStateDescriptionBytes() { + java.lang.Object ref = stateDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + stateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The stateDescription to set. + * @return This builder for chaining. + */ + public Builder setStateDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + stateDescription_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearStateDescription() { + stateDescription_ = getDefaultInstance().getStateDescription(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for stateDescription to set. + * @return This builder for chaining. + */ + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.util.List deploymentUnits_ = + java.util.Collections.emptyList(); + + private void ensureDeploymentUnitsIsMutable() { + if (!((bitField0_ & 0x00000080) != 0)) { + deploymentUnits_ = + new java.util.ArrayList(deploymentUnits_); + bitField0_ |= 0x00000080; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnit, + com.google.cloud.config.v1.DeploymentUnit.Builder, + com.google.cloud.config.v1.DeploymentUnitOrBuilder> + deploymentUnitsBuilder_; + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public java.util.List getDeploymentUnitsList() { + if (deploymentUnitsBuilder_ == null) { + return java.util.Collections.unmodifiableList(deploymentUnits_); + } else { + return deploymentUnitsBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public int getDeploymentUnitsCount() { + if (deploymentUnitsBuilder_ == null) { + return deploymentUnits_.size(); + } else { + return deploymentUnitsBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public com.google.cloud.config.v1.DeploymentUnit getDeploymentUnits(int index) { + if (deploymentUnitsBuilder_ == null) { + return deploymentUnits_.get(index); + } else { + return deploymentUnitsBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder setDeploymentUnits(int index, com.google.cloud.config.v1.DeploymentUnit value) { + if (deploymentUnitsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.set(index, value); + onChanged(); + } else { + deploymentUnitsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder setDeploymentUnits( + int index, com.google.cloud.config.v1.DeploymentUnit.Builder builderForValue) { + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.set(index, builderForValue.build()); + onChanged(); + } else { + deploymentUnitsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder addDeploymentUnits(com.google.cloud.config.v1.DeploymentUnit value) { + if (deploymentUnitsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.add(value); + onChanged(); + } else { + deploymentUnitsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder addDeploymentUnits(int index, com.google.cloud.config.v1.DeploymentUnit value) { + if (deploymentUnitsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.add(index, value); + onChanged(); + } else { + deploymentUnitsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder addDeploymentUnits( + com.google.cloud.config.v1.DeploymentUnit.Builder builderForValue) { + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.add(builderForValue.build()); + onChanged(); + } else { + deploymentUnitsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder addDeploymentUnits( + int index, com.google.cloud.config.v1.DeploymentUnit.Builder builderForValue) { + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.add(index, builderForValue.build()); + onChanged(); + } else { + deploymentUnitsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder addAllDeploymentUnits( + java.lang.Iterable values) { + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deploymentUnits_); + onChanged(); + } else { + deploymentUnitsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder clearDeploymentUnits() { + if (deploymentUnitsBuilder_ == null) { + deploymentUnits_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + } else { + deploymentUnitsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public Builder removeDeploymentUnits(int index) { + if (deploymentUnitsBuilder_ == null) { + ensureDeploymentUnitsIsMutable(); + deploymentUnits_.remove(index); + onChanged(); + } else { + deploymentUnitsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public com.google.cloud.config.v1.DeploymentUnit.Builder getDeploymentUnitsBuilder(int index) { + return internalGetDeploymentUnitsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public com.google.cloud.config.v1.DeploymentUnitOrBuilder getDeploymentUnitsOrBuilder( + int index) { + if (deploymentUnitsBuilder_ == null) { + return deploymentUnits_.get(index); + } else { + return deploymentUnitsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public java.util.List + getDeploymentUnitsOrBuilderList() { + if (deploymentUnitsBuilder_ != null) { + return deploymentUnitsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(deploymentUnits_); + } + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public com.google.cloud.config.v1.DeploymentUnit.Builder addDeploymentUnitsBuilder() { + return internalGetDeploymentUnitsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.DeploymentUnit.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public com.google.cloud.config.v1.DeploymentUnit.Builder addDeploymentUnitsBuilder(int index) { + return internalGetDeploymentUnitsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.DeploymentUnit.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment units of the deployment group in a DAG like structure.
    +     * When a deployment group is being provisioned, the deployment units are
    +     * deployed in a DAG order.
    +     * The provided units must be in a DAG order, otherwise an error will be
    +     * returned.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + public java.util.List + getDeploymentUnitsBuilderList() { + return internalGetDeploymentUnitsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnit, + com.google.cloud.config.v1.DeploymentUnit.Builder, + com.google.cloud.config.v1.DeploymentUnitOrBuilder> + internalGetDeploymentUnitsFieldBuilder() { + if (deploymentUnitsBuilder_ == null) { + deploymentUnitsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnit, + com.google.cloud.config.v1.DeploymentUnit.Builder, + com.google.cloud.config.v1.DeploymentUnitOrBuilder>( + deploymentUnits_, + ((bitField0_ & 0x00000080) != 0), + getParentForChildren(), + isClean()); + deploymentUnits_ = null; + } + return deploymentUnitsBuilder_; + } + + private int provisioningState_ = 0; + + /** + * + * + *
    +     * Output only. The provisioning state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for provisioningState. + */ + @java.lang.Override + public int getProvisioningStateValue() { + return provisioningState_; + } + + /** + * + * + *
    +     * Output only. The provisioning state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for provisioningState to set. + * @return This builder for chaining. + */ + public Builder setProvisioningStateValue(int value) { + provisioningState_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The provisioning state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningState. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup.ProvisioningState getProvisioningState() { + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState result = + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState.forNumber( + provisioningState_); + return result == null + ? com.google.cloud.config.v1.DeploymentGroup.ProvisioningState.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. The provisioning state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The provisioningState to set. + * @return This builder for chaining. + */ + public Builder setProvisioningState( + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + provisioningState_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The provisioning state of the deployment group.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearProvisioningState() { + bitField0_ = (bitField0_ & ~0x00000100); + provisioningState_ = 0; + onChanged(); + return this; + } + + private java.lang.Object provisioningStateDescription_ = ""; + + /** + * + * + *
    +     * Output only. Additional information regarding the current provisioning
    +     * state.
    +     * 
    + * + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningStateDescription. + */ + public java.lang.String getProvisioningStateDescription() { + java.lang.Object ref = provisioningStateDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + provisioningStateDescription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current provisioning
    +     * state.
    +     * 
    + * + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for provisioningStateDescription. + */ + public com.google.protobuf.ByteString getProvisioningStateDescriptionBytes() { + java.lang.Object ref = provisioningStateDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + provisioningStateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current provisioning
    +     * state.
    +     * 
    + * + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The provisioningStateDescription to set. + * @return This builder for chaining. + */ + public Builder setProvisioningStateDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + provisioningStateDescription_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current provisioning
    +     * state.
    +     * 
    + * + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearProvisioningStateDescription() { + provisioningStateDescription_ = getDefaultInstance().getProvisioningStateDescription(); + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current provisioning
    +     * state.
    +     * 
    + * + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes for provisioningStateDescription to set. + * @return This builder for chaining. + */ + public Builder setProvisioningStateDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + provisioningStateDescription_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + + private com.google.rpc.Status provisioningError_; + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + provisioningErrorBuilder_; + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisioningError field is set. + */ + public boolean hasProvisioningError() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningError. + */ + public com.google.rpc.Status getProvisioningError() { + if (provisioningErrorBuilder_ == null) { + return provisioningError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : provisioningError_; + } else { + return provisioningErrorBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setProvisioningError(com.google.rpc.Status value) { + if (provisioningErrorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + provisioningError_ = value; + } else { + provisioningErrorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setProvisioningError(com.google.rpc.Status.Builder builderForValue) { + if (provisioningErrorBuilder_ == null) { + provisioningError_ = builderForValue.build(); + } else { + provisioningErrorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeProvisioningError(com.google.rpc.Status value) { + if (provisioningErrorBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) + && provisioningError_ != null + && provisioningError_ != com.google.rpc.Status.getDefaultInstance()) { + getProvisioningErrorBuilder().mergeFrom(value); + } else { + provisioningError_ = value; + } + } else { + provisioningErrorBuilder_.mergeFrom(value); + } + if (provisioningError_ != null) { + bitField0_ |= 0x00000400; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearProvisioningError() { + bitField0_ = (bitField0_ & ~0x00000400); + provisioningError_ = null; + if (provisioningErrorBuilder_ != null) { + provisioningErrorBuilder_.dispose(); + provisioningErrorBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.Status.Builder getProvisioningErrorBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return internalGetProvisioningErrorFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.rpc.StatusOrBuilder getProvisioningErrorOrBuilder() { + if (provisioningErrorBuilder_ != null) { + return provisioningErrorBuilder_.getMessageOrBuilder(); + } else { + return provisioningError_ == null + ? com.google.rpc.Status.getDefaultInstance() + : provisioningError_; + } + } + + /** + * + * + *
    +     * Output only. The error status of the deployment group provisioning or
    +     * deprovisioning.
    +     * 
    + * + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + internalGetProvisioningErrorFieldBuilder() { + if (provisioningErrorBuilder_ == null) { + provisioningErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>( + getProvisioningError(), getParentForChildren(), isClean()); + provisioningError_ = null; + } + return provisioningErrorBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentGroup) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentGroup) + private static final com.google.cloud.config.v1.DeploymentGroup DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentGroup(); + } + + public static com.google.cloud.config.v1.DeploymentGroup getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupName.java new file mode 100644 index 000000000000..4ea6f2485801 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupName.java @@ -0,0 +1,227 @@ +/* + * 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.config.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class DeploymentGroupName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_DEPLOYMENT_GROUP = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/deploymentGroups/{deployment_group}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String deploymentGroup; + + @Deprecated + protected DeploymentGroupName() { + project = null; + location = null; + deploymentGroup = null; + } + + private DeploymentGroupName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + deploymentGroup = Preconditions.checkNotNull(builder.getDeploymentGroup()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDeploymentGroup() { + return deploymentGroup; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static DeploymentGroupName of(String project, String location, String deploymentGroup) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setDeploymentGroup(deploymentGroup) + .build(); + } + + public static String format(String project, String location, String deploymentGroup) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setDeploymentGroup(deploymentGroup) + .build() + .toString(); + } + + public static DeploymentGroupName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_DEPLOYMENT_GROUP.validatedMatch( + formattedString, "DeploymentGroupName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("deployment_group")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (DeploymentGroupName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_DEPLOYMENT_GROUP.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (deploymentGroup != null) { + fieldMapBuilder.put("deployment_group", deploymentGroup); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_DEPLOYMENT_GROUP.instantiate( + "project", project, "location", location, "deployment_group", deploymentGroup); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + DeploymentGroupName that = ((DeploymentGroupName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.deploymentGroup, that.deploymentGroup); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(deploymentGroup); + return h; + } + + /** Builder for projects/{project}/locations/{location}/deploymentGroups/{deployment_group}. */ + public static class Builder { + private String project; + private String location; + private String deploymentGroup; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDeploymentGroup() { + return deploymentGroup; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setDeploymentGroup(String deploymentGroup) { + this.deploymentGroup = deploymentGroup; + return this; + } + + private Builder(DeploymentGroupName deploymentGroupName) { + this.project = deploymentGroupName.project; + this.location = deploymentGroupName.location; + this.deploymentGroup = deploymentGroupName.deploymentGroup; + } + + public DeploymentGroupName build() { + return new DeploymentGroupName(this); + } + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupOrBuilder.java new file mode 100644 index 000000000000..52bb66f9e668 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupOrBuilder.java @@ -0,0 +1,519 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentGroupOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentGroup) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Identifier. The name of the deployment group.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Identifier. The name of the deployment group.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the updateTime field is set. + */ + boolean hasUpdateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The updateTime. + */ + com.google.protobuf.Timestamp getUpdateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group was last updated.
    +   * 
    + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getLabelsCount(); + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsLabels(java.lang.String key); + + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map getLabelsMap(); + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
    +   * Optional. User-defined metadata for the deployment group.
    +   * 
    + * + * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getAnnotationsCount(); + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + boolean containsAnnotations(java.lang.String key); + + /** Use {@link #getAnnotationsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getAnnotations(); + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.Map getAnnotationsMap(); + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + /* nullable */ + java.lang.String getAnnotationsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + + /** + * + * + *
    +   * Optional. Arbitrary key-value metadata storage e.g. to help client tools
    +   * identify deployment group during automation. See
    +   * https://google.aip.dev/148#annotations for details on format and size
    +   * limitations.
    +   * 
    + * + * map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.lang.String getAnnotationsOrThrow(java.lang.String key); + + /** + * + * + *
    +   * Output only. Current state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + + /** + * + * + *
    +   * Output only. Current state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.config.v1.DeploymentGroup.State getState(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + java.lang.String getStateDescription(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + com.google.protobuf.ByteString getStateDescriptionBytes(); + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + java.util.List getDeploymentUnitsList(); + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + com.google.cloud.config.v1.DeploymentUnit getDeploymentUnits(int index); + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + int getDeploymentUnitsCount(); + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + java.util.List + getDeploymentUnitsOrBuilderList(); + + /** + * + * + *
    +   * The deployment units of the deployment group in a DAG like structure.
    +   * When a deployment group is being provisioned, the deployment units are
    +   * deployed in a DAG order.
    +   * The provided units must be in a DAG order, otherwise an error will be
    +   * returned.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentUnit deployment_units = 8; + */ + com.google.cloud.config.v1.DeploymentUnitOrBuilder getDeploymentUnitsOrBuilder(int index); + + /** + * + * + *
    +   * Output only. The provisioning state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for provisioningState. + */ + int getProvisioningStateValue(); + + /** + * + * + *
    +   * Output only. The provisioning state of the deployment group.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup.ProvisioningState provisioning_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningState. + */ + com.google.cloud.config.v1.DeploymentGroup.ProvisioningState getProvisioningState(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current provisioning
    +   * state.
    +   * 
    + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningStateDescription. + */ + java.lang.String getProvisioningStateDescription(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current provisioning
    +   * state.
    +   * 
    + * + * string provisioning_state_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The bytes for provisioningStateDescription. + */ + com.google.protobuf.ByteString getProvisioningStateDescriptionBytes(); + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisioningError field is set. + */ + boolean hasProvisioningError(); + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisioningError. + */ + com.google.rpc.Status getProvisioningError(); + + /** + * + * + *
    +   * Output only. The error status of the deployment group provisioning or
    +   * deprovisioning.
    +   * 
    + * + * .google.rpc.Status provisioning_error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.rpc.StatusOrBuilder getProvisioningErrorOrBuilder(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevision.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevision.java new file mode 100644 index 000000000000..1da18557046a --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevision.java @@ -0,0 +1,1527 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * A DeploymentGroupRevision represents a snapshot of a
    + * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in
    + * time, created when a DeploymentGroup is provisioned or deprovisioned.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentGroupRevision} + */ +@com.google.protobuf.Generated +public final class DeploymentGroupRevision extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentGroupRevision) + DeploymentGroupRevisionOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentGroupRevision"); + } + + // Use DeploymentGroupRevision.newBuilder() to construct. + private DeploymentGroupRevision(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentGroupRevision() { + name_ = ""; + alternativeIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroupRevision_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentGroupRevision.class, + com.google.cloud.config.v1.DeploymentGroupRevision.Builder.class); + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Identifier. The name of the deployment group revision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Identifier. The name of the deployment group revision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SNAPSHOT_FIELD_NUMBER = 2; + private com.google.cloud.config.v1.DeploymentGroup snapshot_; + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the snapshot field is set. + */ + @java.lang.Override + public boolean hasSnapshot() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The snapshot. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getSnapshot() { + return snapshot_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : snapshot_; + } + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getSnapshotOrBuilder() { + return snapshot_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : snapshot_; + } + + public static final int CREATE_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp createTime_; + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + @java.lang.Override + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getCreateTime() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; + } + + public static final int ALTERNATIVE_IDS_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList alternativeIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the alternativeIds. + */ + public com.google.protobuf.ProtocolStringList getAlternativeIdsList() { + return alternativeIds_; + } + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of alternativeIds. + */ + public int getAlternativeIdsCount() { + return alternativeIds_.size(); + } + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The alternativeIds at the given index. + */ + public java.lang.String getAlternativeIds(int index) { + return alternativeIds_.get(index); + } + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the alternativeIds at the given index. + */ + public com.google.protobuf.ByteString getAlternativeIdsBytes(int index) { + return alternativeIds_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getSnapshot()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(3, getCreateTime()); + } + for (int i = 0; i < alternativeIds_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, alternativeIds_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSnapshot()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); + } + { + int dataSize = 0; + for (int i = 0; i < alternativeIds_.size(); i++) { + dataSize += computeStringSizeNoTag(alternativeIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getAlternativeIdsList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentGroupRevision)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentGroupRevision other = + (com.google.cloud.config.v1.DeploymentGroupRevision) obj; + + if (!getName().equals(other.getName())) return false; + if (hasSnapshot() != other.hasSnapshot()) return false; + if (hasSnapshot()) { + if (!getSnapshot().equals(other.getSnapshot())) return false; + } + if (hasCreateTime() != other.hasCreateTime()) return false; + if (hasCreateTime()) { + if (!getCreateTime().equals(other.getCreateTime())) return false; + } + if (!getAlternativeIdsList().equals(other.getAlternativeIdsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasSnapshot()) { + hash = (37 * hash) + SNAPSHOT_FIELD_NUMBER; + hash = (53 * hash) + getSnapshot().hashCode(); + } + if (hasCreateTime()) { + hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + getCreateTime().hashCode(); + } + if (getAlternativeIdsCount() > 0) { + hash = (37 * hash) + ALTERNATIVE_IDS_FIELD_NUMBER; + hash = (53 * hash) + getAlternativeIdsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentGroupRevision prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A DeploymentGroupRevision represents a snapshot of a
    +   * [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in
    +   * time, created when a DeploymentGroup is provisioned or deprovisioned.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentGroupRevision} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentGroupRevision) + com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroupRevision_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentGroupRevision.class, + com.google.cloud.config.v1.DeploymentGroupRevision.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentGroupRevision.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSnapshotFieldBuilder(); + internalGetCreateTimeFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + snapshot_ = null; + if (snapshotBuilder_ != null) { + snapshotBuilder_.dispose(); + snapshotBuilder_ = null; + } + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + alternativeIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentGroupRevision_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevision getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentGroupRevision.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevision build() { + com.google.cloud.config.v1.DeploymentGroupRevision result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevision buildPartial() { + com.google.cloud.config.v1.DeploymentGroupRevision result = + new com.google.cloud.config.v1.DeploymentGroupRevision(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentGroupRevision result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.snapshot_ = snapshotBuilder_ == null ? snapshot_ : snapshotBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + alternativeIds_.makeImmutable(); + result.alternativeIds_ = alternativeIds_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentGroupRevision) { + return mergeFrom((com.google.cloud.config.v1.DeploymentGroupRevision) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentGroupRevision other) { + if (other == com.google.cloud.config.v1.DeploymentGroupRevision.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasSnapshot()) { + mergeSnapshot(other.getSnapshot()); + } + if (other.hasCreateTime()) { + mergeCreateTime(other.getCreateTime()); + } + if (!other.alternativeIds_.isEmpty()) { + if (alternativeIds_.isEmpty()) { + alternativeIds_ = other.alternativeIds_; + bitField0_ |= 0x00000008; + } else { + ensureAlternativeIdsIsMutable(); + alternativeIds_.addAll(other.alternativeIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetSnapshotFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureAlternativeIdsIsMutable(); + alternativeIds_.add(s); + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Identifier. The name of the deployment group revision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group revision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group revision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group revision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Identifier. The name of the deployment group revision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.config.v1.DeploymentGroup snapshot_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + snapshotBuilder_; + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the snapshot field is set. + */ + public boolean hasSnapshot() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The snapshot. + */ + public com.google.cloud.config.v1.DeploymentGroup getSnapshot() { + if (snapshotBuilder_ == null) { + return snapshot_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : snapshot_; + } else { + return snapshotBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSnapshot(com.google.cloud.config.v1.DeploymentGroup value) { + if (snapshotBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + snapshot_ = value; + } else { + snapshotBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setSnapshot(com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (snapshotBuilder_ == null) { + snapshot_ = builderForValue.build(); + } else { + snapshotBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeSnapshot(com.google.cloud.config.v1.DeploymentGroup value) { + if (snapshotBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && snapshot_ != null + && snapshot_ != com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()) { + getSnapshotBuilder().mergeFrom(value); + } else { + snapshot_ = value; + } + } else { + snapshotBuilder_.mergeFrom(value); + } + if (snapshot_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearSnapshot() { + bitField0_ = (bitField0_ & ~0x00000002); + snapshot_ = null; + if (snapshotBuilder_ != null) { + snapshotBuilder_.dispose(); + snapshotBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder getSnapshotBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetSnapshotFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getSnapshotOrBuilder() { + if (snapshotBuilder_ != null) { + return snapshotBuilder_.getMessageOrBuilder(); + } else { + return snapshot_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : snapshot_; + } + } + + /** + * + * + *
    +     * Output only. The snapshot of the deployment group at this revision.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + internalGetSnapshotFieldBuilder() { + if (snapshotBuilder_ == null) { + snapshotBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder>( + getSnapshot(), getParentForChildren(), isClean()); + snapshot_ = null; + } + return snapshotBuilder_; + } + + private com.google.protobuf.Timestamp createTime_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + public boolean hasCreateTime() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + public com.google.protobuf.Timestamp getCreateTime() { + if (createTimeBuilder_ == null) { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } else { + return createTimeBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + createTime_ = value; + } else { + createTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + if (createTimeBuilder_ == null) { + createTime_ = builderForValue.build(); + } else { + createTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { + if (createTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getCreateTimeBuilder().mergeFrom(value); + } else { + createTime_ = value; + } + } else { + createTimeBuilder_.mergeFrom(value); + } + if (createTime_ != null) { + bitField0_ |= 0x00000004; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearCreateTime() { + bitField0_ = (bitField0_ & ~0x00000004); + createTime_ = null; + if (createTimeBuilder_ != null) { + createTimeBuilder_.dispose(); + createTimeBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return internalGetCreateTimeFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { + if (createTimeBuilder_ != null) { + return createTimeBuilder_.getMessageOrBuilder(); + } else { + return createTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : createTime_; + } + } + + /** + * + * + *
    +     * Output only. Time when the deployment group revision was created.
    +     * 
    + * + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + internalGetCreateTimeFieldBuilder() { + if (createTimeBuilder_ == null) { + createTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), getParentForChildren(), isClean()); + createTime_ = null; + } + return createTimeBuilder_; + } + + private com.google.protobuf.LazyStringArrayList alternativeIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureAlternativeIdsIsMutable() { + if (!alternativeIds_.isModifiable()) { + alternativeIds_ = new com.google.protobuf.LazyStringArrayList(alternativeIds_); + } + bitField0_ |= 0x00000008; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return A list containing the alternativeIds. + */ + public com.google.protobuf.ProtocolStringList getAlternativeIdsList() { + alternativeIds_.makeImmutable(); + return alternativeIds_; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The count of alternativeIds. + */ + public int getAlternativeIdsCount() { + return alternativeIds_.size(); + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the element to return. + * @return The alternativeIds at the given index. + */ + public java.lang.String getAlternativeIds(int index) { + return alternativeIds_.get(index); + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index of the value to return. + * @return The bytes of the alternativeIds at the given index. + */ + public com.google.protobuf.ByteString getAlternativeIdsBytes(int index) { + return alternativeIds_.getByteString(index); + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param index The index to set the value at. + * @param value The alternativeIds to set. + * @return This builder for chaining. + */ + public Builder setAlternativeIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAlternativeIdsIsMutable(); + alternativeIds_.set(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The alternativeIds to add. + * @return This builder for chaining. + */ + public Builder addAlternativeIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAlternativeIdsIsMutable(); + alternativeIds_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param values The alternativeIds to add. + * @return This builder for chaining. + */ + public Builder addAllAlternativeIds(java.lang.Iterable values) { + ensureAlternativeIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, alternativeIds_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearAlternativeIds() { + alternativeIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The alternative IDs of the deployment group revision.
    +     * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The bytes of the alternativeIds to add. + * @return This builder for chaining. + */ + public Builder addAlternativeIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureAlternativeIdsIsMutable(); + alternativeIds_.add(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentGroupRevision) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentGroupRevision) + private static final com.google.cloud.config.v1.DeploymentGroupRevision DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentGroupRevision(); + } + + public static com.google.cloud.config.v1.DeploymentGroupRevision getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentGroupRevision parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevision getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionName.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionName.java new file mode 100644 index 000000000000..50a5cacf8405 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionName.java @@ -0,0 +1,270 @@ +/* + * 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.config.v1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class DeploymentGroupRevisionName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_DEPLOYMENT_GROUP_REVISION = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String deploymentGroup; + private final String revision; + + @Deprecated + protected DeploymentGroupRevisionName() { + project = null; + location = null; + deploymentGroup = null; + revision = null; + } + + private DeploymentGroupRevisionName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + deploymentGroup = Preconditions.checkNotNull(builder.getDeploymentGroup()); + revision = Preconditions.checkNotNull(builder.getRevision()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDeploymentGroup() { + return deploymentGroup; + } + + public String getRevision() { + return revision; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static DeploymentGroupRevisionName of( + String project, String location, String deploymentGroup, String revision) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setDeploymentGroup(deploymentGroup) + .setRevision(revision) + .build(); + } + + public static String format( + String project, String location, String deploymentGroup, String revision) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setDeploymentGroup(deploymentGroup) + .setRevision(revision) + .build() + .toString(); + } + + public static DeploymentGroupRevisionName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_DEPLOYMENT_GROUP_REVISION.validatedMatch( + formattedString, + "DeploymentGroupRevisionName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("deployment_group"), + matchMap.get("revision")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (DeploymentGroupRevisionName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_DEPLOYMENT_GROUP_REVISION.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (deploymentGroup != null) { + fieldMapBuilder.put("deployment_group", deploymentGroup); + } + if (revision != null) { + fieldMapBuilder.put("revision", revision); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_DEPLOYMENT_GROUP_REVISION.instantiate( + "project", + project, + "location", + location, + "deployment_group", + deploymentGroup, + "revision", + revision); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null && getClass() == o.getClass()) { + DeploymentGroupRevisionName that = ((DeploymentGroupRevisionName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.deploymentGroup, that.deploymentGroup) + && Objects.equals(this.revision, that.revision); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(deploymentGroup); + h *= 1000003; + h ^= Objects.hashCode(revision); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}. + */ + public static class Builder { + private String project; + private String location; + private String deploymentGroup; + private String revision; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getDeploymentGroup() { + return deploymentGroup; + } + + public String getRevision() { + return revision; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setDeploymentGroup(String deploymentGroup) { + this.deploymentGroup = deploymentGroup; + return this; + } + + public Builder setRevision(String revision) { + this.revision = revision; + return this; + } + + private Builder(DeploymentGroupRevisionName deploymentGroupRevisionName) { + this.project = deploymentGroupRevisionName.project; + this.location = deploymentGroupRevisionName.location; + this.deploymentGroup = deploymentGroupRevisionName.deploymentGroup; + this.revision = deploymentGroupRevisionName.revision; + } + + public DeploymentGroupRevisionName build() { + return new DeploymentGroupRevisionName(this); + } + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionOrBuilder.java new file mode 100644 index 000000000000..f29c3262a5e3 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentGroupRevisionOrBuilder.java @@ -0,0 +1,195 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentGroupRevisionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentGroupRevision) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Identifier. The name of the deployment group revision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Identifier. The name of the deployment group revision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the snapshot field is set. + */ + boolean hasSnapshot(); + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The snapshot. + */ + com.google.cloud.config.v1.DeploymentGroup getSnapshot(); + + /** + * + * + *
    +   * Output only. The snapshot of the deployment group at this revision.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup snapshot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.DeploymentGroupOrBuilder getSnapshotOrBuilder(); + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the createTime field is set. + */ + boolean hasCreateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The createTime. + */ + com.google.protobuf.Timestamp getCreateTime(); + + /** + * + * + *
    +   * Output only. Time when the deployment group revision was created.
    +   * 
    + * + * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return A list containing the alternativeIds. + */ + java.util.List getAlternativeIdsList(); + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The count of alternativeIds. + */ + int getAlternativeIdsCount(); + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the element to return. + * @return The alternativeIds at the given index. + */ + java.lang.String getAlternativeIds(int index); + + /** + * + * + *
    +   * Output only. The alternative IDs of the deployment group revision.
    +   * 
    + * + * repeated string alternative_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param index The index of the value to return. + * @return The bytes of the alternativeIds at the given index. + */ + com.google.protobuf.ByteString getAlternativeIdsBytes(int index); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummary.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummary.java new file mode 100644 index 000000000000..c576b80f3dbf --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummary.java @@ -0,0 +1,1382 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The summary of the deployment operation.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentOperationSummary} + */ +@com.google.protobuf.Generated +public final class DeploymentOperationSummary extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentOperationSummary) + DeploymentOperationSummaryOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentOperationSummary"); + } + + // Use DeploymentOperationSummary.newBuilder() to construct. + private DeploymentOperationSummary(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentOperationSummary() { + deploymentStep_ = 0; + build_ = ""; + logs_ = ""; + content_ = ""; + artifacts_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentOperationSummary.class, + com.google.cloud.config.v1.DeploymentOperationSummary.Builder.class); + } + + public static final int DEPLOYMENT_STEP_FIELD_NUMBER = 1; + private int deploymentStep_ = 0; + + /** + * + * + *
    +   * Output only. The current step the deployment operation is running.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for deploymentStep. + */ + @java.lang.Override + public int getDeploymentStepValue() { + return deploymentStep_; + } + + /** + * + * + *
    +   * Output only. The current step the deployment operation is running.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentStep. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getDeploymentStep() { + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber( + deploymentStep_); + return result == null + ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED + : result; + } + + public static final int BUILD_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object build_ = ""; + + /** + * + * + *
    +   * Output only. Cloud Build instance UUID associated with this operation.
    +   * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The build. + */ + @java.lang.Override + public java.lang.String getBuild() { + java.lang.Object ref = build_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + build_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Cloud Build instance UUID associated with this operation.
    +   * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for build. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBuildBytes() { + java.lang.Object ref = build_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + build_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LOGS_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object logs_ = ""; + + /** + * + * + *
    +   * Output only. Location of Deployment operations logs in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The logs. + */ + @java.lang.Override + public java.lang.String getLogs() { + java.lang.Object ref = logs_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logs_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Location of Deployment operations logs in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for logs. + */ + @java.lang.Override + public com.google.protobuf.ByteString getLogsBytes() { + java.lang.Object ref = logs_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logs_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENT_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object content_ = ""; + + /** + * + * + *
    +   * Output only. Location of Deployment operations content in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The content. + */ + @java.lang.Override + public java.lang.String getContent() { + java.lang.Object ref = content_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + content_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Location of Deployment operations content in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for content. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContentBytes() { + java.lang.Object ref = content_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + content_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ARTIFACTS_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object artifacts_ = ""; + + /** + * + * + *
    +   * Output only. Location of Deployment operations artifacts in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The artifacts. + */ + @java.lang.Override + public java.lang.String getArtifacts() { + java.lang.Object ref = artifacts_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + artifacts_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Location of Deployment operations artifacts in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for artifacts. + */ + @java.lang.Override + public com.google.protobuf.ByteString getArtifactsBytes() { + java.lang.Object ref = artifacts_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + artifacts_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (deploymentStep_ + != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep + .DEPLOYMENT_STEP_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, deploymentStep_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(build_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, build_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logs_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, logs_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, content_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(artifacts_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, artifacts_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (deploymentStep_ + != com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep + .DEPLOYMENT_STEP_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, deploymentStep_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(build_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, build_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logs_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, logs_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(content_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, content_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(artifacts_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, artifacts_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentOperationSummary)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentOperationSummary other = + (com.google.cloud.config.v1.DeploymentOperationSummary) obj; + + if (deploymentStep_ != other.deploymentStep_) return false; + if (!getBuild().equals(other.getBuild())) return false; + if (!getLogs().equals(other.getLogs())) return false; + if (!getContent().equals(other.getContent())) return false; + if (!getArtifacts().equals(other.getArtifacts())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEPLOYMENT_STEP_FIELD_NUMBER; + hash = (53 * hash) + deploymentStep_; + hash = (37 * hash) + BUILD_FIELD_NUMBER; + hash = (53 * hash) + getBuild().hashCode(); + hash = (37 * hash) + LOGS_FIELD_NUMBER; + hash = (53 * hash) + getLogs().hashCode(); + hash = (37 * hash) + CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getContent().hashCode(); + hash = (37 * hash) + ARTIFACTS_FIELD_NUMBER; + hash = (53 * hash) + getArtifacts().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.DeploymentOperationSummary prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The summary of the deployment operation.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentOperationSummary} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentOperationSummary) + com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationSummary_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentOperationSummary.class, + com.google.cloud.config.v1.DeploymentOperationSummary.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentOperationSummary.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + deploymentStep_ = 0; + build_ = ""; + logs_ = ""; + content_ = ""; + artifacts_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentOperationSummary_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummary getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummary build() { + com.google.cloud.config.v1.DeploymentOperationSummary result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummary buildPartial() { + com.google.cloud.config.v1.DeploymentOperationSummary result = + new com.google.cloud.config.v1.DeploymentOperationSummary(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentOperationSummary result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deploymentStep_ = deploymentStep_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.build_ = build_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.logs_ = logs_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.content_ = content_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.artifacts_ = artifacts_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentOperationSummary) { + return mergeFrom((com.google.cloud.config.v1.DeploymentOperationSummary) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentOperationSummary other) { + if (other == com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance()) + return this; + if (other.deploymentStep_ != 0) { + setDeploymentStepValue(other.getDeploymentStepValue()); + } + if (!other.getBuild().isEmpty()) { + build_ = other.build_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getLogs().isEmpty()) { + logs_ = other.logs_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getContent().isEmpty()) { + content_ = other.content_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getArtifacts().isEmpty()) { + artifacts_ = other.artifacts_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + deploymentStep_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + build_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + logs_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + content_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + artifacts_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int deploymentStep_ = 0; + + /** + * + * + *
    +     * Output only. The current step the deployment operation is running.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for deploymentStep. + */ + @java.lang.Override + public int getDeploymentStepValue() { + return deploymentStep_; + } + + /** + * + * + *
    +     * Output only. The current step the deployment operation is running.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for deploymentStep to set. + * @return This builder for chaining. + */ + public Builder setDeploymentStepValue(int value) { + deploymentStep_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step the deployment operation is running.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentStep. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep + getDeploymentStep() { + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep result = + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.forNumber( + deploymentStep_); + return result == null + ? com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. The current step the deployment operation is running.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The deploymentStep to set. + * @return This builder for chaining. + */ + public Builder setDeploymentStep( + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + deploymentStep_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step the deployment operation is running.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearDeploymentStep() { + bitField0_ = (bitField0_ & ~0x00000001); + deploymentStep_ = 0; + onChanged(); + return this; + } + + private java.lang.Object build_ = ""; + + /** + * + * + *
    +     * Output only. Cloud Build instance UUID associated with this operation.
    +     * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The build. + */ + public java.lang.String getBuild() { + java.lang.Object ref = build_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + build_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Cloud Build instance UUID associated with this operation.
    +     * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for build. + */ + public com.google.protobuf.ByteString getBuildBytes() { + java.lang.Object ref = build_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + build_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Cloud Build instance UUID associated with this operation.
    +     * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The build to set. + * @return This builder for chaining. + */ + public Builder setBuild(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + build_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Cloud Build instance UUID associated with this operation.
    +     * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearBuild() { + build_ = getDefaultInstance().getBuild(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Cloud Build instance UUID associated with this operation.
    +     * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for build to set. + * @return This builder for chaining. + */ + public Builder setBuildBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + build_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object logs_ = ""; + + /** + * + * + *
    +     * Output only. Location of Deployment operations logs in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The logs. + */ + public java.lang.String getLogs() { + java.lang.Object ref = logs_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + logs_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations logs in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for logs. + */ + public com.google.protobuf.ByteString getLogsBytes() { + java.lang.Object ref = logs_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + logs_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations logs in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The logs to set. + * @return This builder for chaining. + */ + public Builder setLogs(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + logs_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations logs in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearLogs() { + logs_ = getDefaultInstance().getLogs(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations logs in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for logs to set. + * @return This builder for chaining. + */ + public Builder setLogsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logs_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object content_ = ""; + + /** + * + * + *
    +     * Output only. Location of Deployment operations content in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The content. + */ + public java.lang.String getContent() { + java.lang.Object ref = content_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + content_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations content in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for content. + */ + public com.google.protobuf.ByteString getContentBytes() { + java.lang.Object ref = content_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + content_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations content in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The content to set. + * @return This builder for chaining. + */ + public Builder setContent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + content_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations content in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearContent() { + content_ = getDefaultInstance().getContent(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations content in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for content to set. + * @return This builder for chaining. + */ + public Builder setContentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + content_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object artifacts_ = ""; + + /** + * + * + *
    +     * Output only. Location of Deployment operations artifacts in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The artifacts. + */ + public java.lang.String getArtifacts() { + java.lang.Object ref = artifacts_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + artifacts_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations artifacts in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for artifacts. + */ + public com.google.protobuf.ByteString getArtifactsBytes() { + java.lang.Object ref = artifacts_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + artifacts_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations artifacts in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The artifacts to set. + * @return This builder for chaining. + */ + public Builder setArtifacts(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + artifacts_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations artifacts in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearArtifacts() { + artifacts_ = getDefaultInstance().getArtifacts(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Location of Deployment operations artifacts in
    +     * `gs://{bucket}/{object}` format.
    +     * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for artifacts to set. + * @return This builder for chaining. + */ + public Builder setArtifactsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + artifacts_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentOperationSummary) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentOperationSummary) + private static final com.google.cloud.config.v1.DeploymentOperationSummary DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentOperationSummary(); + } + + public static com.google.cloud.config.v1.DeploymentOperationSummary getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentOperationSummary parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummary getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummaryOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummaryOrBuilder.java new file mode 100644 index 000000000000..84a3210e681f --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentOperationSummaryOrBuilder.java @@ -0,0 +1,172 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentOperationSummaryOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentOperationSummary) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Output only. The current step the deployment operation is running.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for deploymentStep. + */ + int getDeploymentStepValue(); + + /** + * + * + *
    +   * Output only. The current step the deployment operation is running.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep deployment_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentStep. + */ + com.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep getDeploymentStep(); + + /** + * + * + *
    +   * Output only. Cloud Build instance UUID associated with this operation.
    +   * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The build. + */ + java.lang.String getBuild(); + + /** + * + * + *
    +   * Output only. Cloud Build instance UUID associated with this operation.
    +   * 
    + * + * + * string build = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... } + * + * + * @return The bytes for build. + */ + com.google.protobuf.ByteString getBuildBytes(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations logs in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The logs. + */ + java.lang.String getLogs(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations logs in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string logs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for logs. + */ + com.google.protobuf.ByteString getLogsBytes(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations content in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The content. + */ + java.lang.String getContent(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations content in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string content = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for content. + */ + com.google.protobuf.ByteString getContentBytes(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations artifacts in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The artifacts. + */ + java.lang.String getArtifacts(); + + /** + * + * + *
    +   * Output only. Location of Deployment operations artifacts in
    +   * `gs://{bucket}/{object}` format.
    +   * 
    + * + * string artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for artifacts. + */ + com.google.protobuf.ByteString getArtifactsBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSource.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSource.java new file mode 100644 index 000000000000..58a7738581d4 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSource.java @@ -0,0 +1,826 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * Configuration for a value sourced from a Deployment.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentSource} + */ +@com.google.protobuf.Generated +public final class DeploymentSource extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentSource) + DeploymentSourceOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentSource"); + } + + // Use DeploymentSource.newBuilder() to construct. + private DeploymentSource(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentSource() { + deployment_ = ""; + outputName_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentSource.class, + com.google.cloud.config.v1.DeploymentSource.Builder.class); + } + + public static final int DEPLOYMENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object deployment_ = ""; + + /** + * + * + *
    +   * Required. The resource name of the source Deployment to import the output
    +   * from. Format:
    +   * projects/{project}/locations/{location}/deployments/{deployment} The source
    +   * deployment must be in the same project and location.
    +   * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + @java.lang.Override + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The resource name of the source Deployment to import the output
    +   * from. Format:
    +   * projects/{project}/locations/{location}/deployments/{deployment} The source
    +   * deployment must be in the same project and location.
    +   * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OUTPUT_NAME_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object outputName_ = ""; + + /** + * + * + *
    +   * Required. The name of the output variable in the source deployment's latest
    +   * successfully applied revision.
    +   * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The outputName. + */ + @java.lang.Override + public java.lang.String getOutputName() { + java.lang.Object ref = outputName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputName_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of the output variable in the source deployment's latest
    +   * successfully applied revision.
    +   * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for outputName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOutputNameBytes() { + java.lang.Object ref = outputName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + outputName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deployment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, deployment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(outputName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, outputName_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deployment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, deployment_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(outputName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, outputName_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentSource)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentSource other = + (com.google.cloud.config.v1.DeploymentSource) obj; + + if (!getDeployment().equals(other.getDeployment())) return false; + if (!getOutputName().equals(other.getOutputName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEPLOYMENT_FIELD_NUMBER; + hash = (53 * hash) + getDeployment().hashCode(); + hash = (37 * hash) + OUTPUT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getOutputName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSource parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentSource prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * Configuration for a value sourced from a Deployment.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentSource} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentSource) + com.google.cloud.config.v1.DeploymentSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentSource.class, + com.google.cloud.config.v1.DeploymentSource.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentSource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + deployment_ = ""; + outputName_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSource_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource build() { + com.google.cloud.config.v1.DeploymentSource result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource buildPartial() { + com.google.cloud.config.v1.DeploymentSource result = + new com.google.cloud.config.v1.DeploymentSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentSource result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deployment_ = deployment_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.outputName_ = outputName_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentSource) { + return mergeFrom((com.google.cloud.config.v1.DeploymentSource) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentSource other) { + if (other == com.google.cloud.config.v1.DeploymentSource.getDefaultInstance()) return this; + if (!other.getDeployment().isEmpty()) { + deployment_ = other.deployment_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getOutputName().isEmpty()) { + outputName_ = other.outputName_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + deployment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + outputName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object deployment_ = ""; + + /** + * + * + *
    +     * Required. The resource name of the source Deployment to import the output
    +     * from. Format:
    +     * projects/{project}/locations/{location}/deployments/{deployment} The source
    +     * deployment must be in the same project and location.
    +     * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The resource name of the source Deployment to import the output
    +     * from. Format:
    +     * projects/{project}/locations/{location}/deployments/{deployment} The source
    +     * deployment must be in the same project and location.
    +     * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The resource name of the source Deployment to import the output
    +     * from. Format:
    +     * projects/{project}/locations/{location}/deployments/{deployment} The source
    +     * deployment must be in the same project and location.
    +     * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The deployment to set. + * @return This builder for chaining. + */ + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + deployment_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The resource name of the source Deployment to import the output
    +     * from. Format:
    +     * projects/{project}/locations/{location}/deployments/{deployment} The source
    +     * deployment must be in the same project and location.
    +     * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearDeployment() { + deployment_ = getDefaultInstance().getDeployment(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The resource name of the source Deployment to import the output
    +     * from. Format:
    +     * projects/{project}/locations/{location}/deployments/{deployment} The source
    +     * deployment must be in the same project and location.
    +     * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for deployment to set. + * @return This builder for chaining. + */ + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deployment_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object outputName_ = ""; + + /** + * + * + *
    +     * Required. The name of the output variable in the source deployment's latest
    +     * successfully applied revision.
    +     * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The outputName. + */ + public java.lang.String getOutputName() { + java.lang.Object ref = outputName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + outputName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the output variable in the source deployment's latest
    +     * successfully applied revision.
    +     * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for outputName. + */ + public com.google.protobuf.ByteString getOutputNameBytes() { + java.lang.Object ref = outputName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + outputName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the output variable in the source deployment's latest
    +     * successfully applied revision.
    +     * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The outputName to set. + * @return This builder for chaining. + */ + public Builder setOutputName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + outputName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the output variable in the source deployment's latest
    +     * successfully applied revision.
    +     * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearOutputName() { + outputName_ = getDefaultInstance().getOutputName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the output variable in the source deployment's latest
    +     * successfully applied revision.
    +     * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for outputName to set. + * @return This builder for chaining. + */ + public Builder setOutputNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + outputName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentSource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentSource) + private static final com.google.cloud.config.v1.DeploymentSource DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentSource(); + } + + public static com.google.cloud.config.v1.DeploymentSource getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSourceOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSourceOrBuilder.java new file mode 100644 index 000000000000..47316a4418f8 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSourceOrBuilder.java @@ -0,0 +1,92 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The resource name of the source Deployment to import the output
    +   * from. Format:
    +   * projects/{project}/locations/{location}/deployments/{deployment} The source
    +   * deployment must be in the same project and location.
    +   * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + java.lang.String getDeployment(); + + /** + * + * + *
    +   * Required. The resource name of the source Deployment to import the output
    +   * from. Format:
    +   * projects/{project}/locations/{location}/deployments/{deployment} The source
    +   * deployment must be in the same project and location.
    +   * 
    + * + * + * string deployment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + com.google.protobuf.ByteString getDeploymentBytes(); + + /** + * + * + *
    +   * Required. The name of the output variable in the source deployment's latest
    +   * successfully applied revision.
    +   * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The outputName. + */ + java.lang.String getOutputName(); + + /** + * + * + *
    +   * Required. The name of the output variable in the source deployment's latest
    +   * successfully applied revision.
    +   * 
    + * + * string output_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for outputName. + */ + com.google.protobuf.ByteString getOutputNameBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpec.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpec.java new file mode 100644 index 000000000000..6eb3607701d5 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpec.java @@ -0,0 +1,918 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * Spec for a deployment to be created.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentSpec} + */ +@com.google.protobuf.Generated +public final class DeploymentSpec extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentSpec) + DeploymentSpecOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentSpec"); + } + + // Use DeploymentSpec.newBuilder() to construct. + private DeploymentSpec(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentSpec() { + deploymentId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentSpec.class, + com.google.cloud.config.v1.DeploymentSpec.Builder.class); + } + + private int bitField0_; + public static final int DEPLOYMENT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object deploymentId_ = ""; + + /** + * + * + *
    +   * Required. The id of the deployment to be created which doesn't include the
    +   * project id and location.
    +   * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentId. + */ + @java.lang.Override + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deploymentId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The id of the deployment to be created which doesn't include the
    +   * project id and location.
    +   * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_FIELD_NUMBER = 2; + private com.google.cloud.config.v1.Deployment deployment_; + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deployment field is set. + */ + @java.lang.Override + public boolean hasDeployment() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deployment. + */ + @java.lang.Override + public com.google.cloud.config.v1.Deployment getDeployment() { + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; + } + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deploymentId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, deploymentId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(2, getDeployment()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deploymentId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, deploymentId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployment()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentSpec)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentSpec other = + (com.google.cloud.config.v1.DeploymentSpec) obj; + + if (!getDeploymentId().equals(other.getDeploymentId())) return false; + if (hasDeployment() != other.hasDeployment()) return false; + if (hasDeployment()) { + if (!getDeployment().equals(other.getDeployment())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentId().hashCode(); + if (hasDeployment()) { + hash = (37 * hash) + DEPLOYMENT_FIELD_NUMBER; + hash = (53 * hash) + getDeployment().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentSpec parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentSpec prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * Spec for a deployment to be created.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentSpec} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentSpec) + com.google.cloud.config.v1.DeploymentSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentSpec.class, + com.google.cloud.config.v1.DeploymentSpec.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentSpec.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetDeploymentFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + deploymentId_ = ""; + deployment_ = null; + if (deploymentBuilder_ != null) { + deploymentBuilder_.dispose(); + deploymentBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentSpec_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentSpec.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec build() { + com.google.cloud.config.v1.DeploymentSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec buildPartial() { + com.google.cloud.config.v1.DeploymentSpec result = + new com.google.cloud.config.v1.DeploymentSpec(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentSpec result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.deploymentId_ = deploymentId_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deployment_ = deploymentBuilder_ == null ? deployment_ : deploymentBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentSpec) { + return mergeFrom((com.google.cloud.config.v1.DeploymentSpec) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentSpec other) { + if (other == com.google.cloud.config.v1.DeploymentSpec.getDefaultInstance()) return this; + if (!other.getDeploymentId().isEmpty()) { + deploymentId_ = other.deploymentId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDeployment()) { + mergeDeployment(other.getDeployment()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + deploymentId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetDeploymentFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object deploymentId_ = ""; + + /** + * + * + *
    +     * Required. The id of the deployment to be created which doesn't include the
    +     * project id and location.
    +     * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentId. + */ + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deploymentId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The id of the deployment to be created which doesn't include the
    +     * project id and location.
    +     * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentId. + */ + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The id of the deployment to be created which doesn't include the
    +     * project id and location.
    +     * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + deploymentId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The id of the deployment to be created which doesn't include the
    +     * project id and location.
    +     * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDeploymentId() { + deploymentId_ = getDefaultInstance().getDeploymentId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The id of the deployment to be created which doesn't include the
    +     * project id and location.
    +     * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deploymentId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.cloud.config.v1.Deployment deployment_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> + deploymentBuilder_; + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deployment field is set. + */ + public boolean hasDeployment() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deployment. + */ + public com.google.cloud.config.v1.Deployment getDeployment() { + if (deploymentBuilder_ == null) { + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; + } else { + return deploymentBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeployment(com.google.cloud.config.v1.Deployment value) { + if (deploymentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deployment_ = value; + } else { + deploymentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeployment(com.google.cloud.config.v1.Deployment.Builder builderForValue) { + if (deploymentBuilder_ == null) { + deployment_ = builderForValue.build(); + } else { + deploymentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDeployment(com.google.cloud.config.v1.Deployment value) { + if (deploymentBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && deployment_ != null + && deployment_ != com.google.cloud.config.v1.Deployment.getDefaultInstance()) { + getDeploymentBuilder().mergeFrom(value); + } else { + deployment_ = value; + } + } else { + deploymentBuilder_.mergeFrom(value); + } + if (deployment_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDeployment() { + bitField0_ = (bitField0_ & ~0x00000002); + deployment_ = null; + if (deploymentBuilder_ != null) { + deploymentBuilder_.dispose(); + deploymentBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.Deployment.Builder getDeploymentBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetDeploymentFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder() { + if (deploymentBuilder_ != null) { + return deploymentBuilder_.getMessageOrBuilder(); + } else { + return deployment_ == null + ? com.google.cloud.config.v1.Deployment.getDefaultInstance() + : deployment_; + } + } + + /** + * + * + *
    +     * Required. The deployment to be created.
    +     * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder> + internalGetDeploymentFieldBuilder() { + if (deploymentBuilder_ == null) { + deploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.Deployment, + com.google.cloud.config.v1.Deployment.Builder, + com.google.cloud.config.v1.DeploymentOrBuilder>( + getDeployment(), getParentForChildren(), isClean()); + deployment_ = null; + } + return deploymentBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentSpec) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentSpec) + private static final com.google.cloud.config.v1.DeploymentSpec DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentSpec(); + } + + public static com.google.cloud.config.v1.DeploymentSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpecOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpecOrBuilder.java new file mode 100644 index 000000000000..d729c407bb4b --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentSpecOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentSpecOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The id of the deployment to be created which doesn't include the
    +   * project id and location.
    +   * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The deploymentId. + */ + java.lang.String getDeploymentId(); + + /** + * + * + *
    +   * Required. The id of the deployment to be created which doesn't include the
    +   * project id and location.
    +   * 
    + * + * string deployment_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for deploymentId. + */ + com.google.protobuf.ByteString getDeploymentIdBytes(); + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deployment field is set. + */ + boolean hasDeployment(); + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deployment. + */ + com.google.cloud.config.v1.Deployment getDeployment(); + + /** + * + * + *
    +   * Required. The deployment to be created.
    +   * 
    + * + * + * .google.cloud.config.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.config.v1.DeploymentOrBuilder getDeploymentOrBuilder(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnit.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnit.java new file mode 100644 index 000000000000..6e9b5eb45200 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnit.java @@ -0,0 +1,1169 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * A DeploymentUnit is a container for a deployment and its dependencies.
    + * An existing deployment can be provided directly in the unit, or the unit
    + * can act as a placeholder to define the DAG, with the deployment specs
    + * supplied in a `provisionDeploymentRequest`.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentUnit} + */ +@com.google.protobuf.Generated +public final class DeploymentUnit extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentUnit) + DeploymentUnitOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentUnit"); + } + + // Use DeploymentUnit.newBuilder() to construct. + private DeploymentUnit(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentUnit() { + id_ = ""; + deployment_ = ""; + dependencies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnit_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnit_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentUnit.class, + com.google.cloud.config.v1.DeploymentUnit.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object id_ = ""; + + /** + * + * + *
    +   * The id of the deployment unit. Must be unique within the deployment group.
    +   * 
    + * + * string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } + } + + /** + * + * + *
    +   * The id of the deployment unit. Must be unique within the deployment group.
    +   * 
    + * + * string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object deployment_ = ""; + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the deployment field is set. + */ + @java.lang.Override + public boolean hasDeployment() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + @java.lang.Override + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPENDENCIES_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList dependencies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the dependencies. + */ + public com.google.protobuf.ProtocolStringList getDependenciesList() { + return dependencies_; + } + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of dependencies. + */ + public int getDependenciesCount() { + return dependencies_.size(); + } + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The dependencies at the given index. + */ + public java.lang.String getDependencies(int index) { + return dependencies_.get(index); + } + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the dependencies at the given index. + */ + public com.google.protobuf.ByteString getDependenciesBytes(int index) { + return dependencies_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, deployment_); + } + for (int i = 0; i < dependencies_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, dependencies_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, deployment_); + } + { + int dataSize = 0; + for (int i = 0; i < dependencies_.size(); i++) { + dataSize += computeStringSizeNoTag(dependencies_.getRaw(i)); + } + size += dataSize; + size += 1 * getDependenciesList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentUnit)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentUnit other = + (com.google.cloud.config.v1.DeploymentUnit) obj; + + if (!getId().equals(other.getId())) return false; + if (hasDeployment() != other.hasDeployment()) return false; + if (hasDeployment()) { + if (!getDeployment().equals(other.getDeployment())) return false; + } + if (!getDependenciesList().equals(other.getDependenciesList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + if (hasDeployment()) { + hash = (37 * hash) + DEPLOYMENT_FIELD_NUMBER; + hash = (53 * hash) + getDeployment().hashCode(); + } + if (getDependenciesCount() > 0) { + hash = (37 * hash) + DEPENDENCIES_FIELD_NUMBER; + hash = (53 * hash) + getDependenciesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnit parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentUnit prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A DeploymentUnit is a container for a deployment and its dependencies.
    +   * An existing deployment can be provided directly in the unit, or the unit
    +   * can act as a placeholder to define the DAG, with the deployment specs
    +   * supplied in a `provisionDeploymentRequest`.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentUnit} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentUnit) + com.google.cloud.config.v1.DeploymentUnitOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnit_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnit_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentUnit.class, + com.google.cloud.config.v1.DeploymentUnit.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentUnit.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + id_ = ""; + deployment_ = ""; + dependencies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnit_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnit getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentUnit.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnit build() { + com.google.cloud.config.v1.DeploymentUnit result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnit buildPartial() { + com.google.cloud.config.v1.DeploymentUnit result = + new com.google.cloud.config.v1.DeploymentUnit(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentUnit result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deployment_ = deployment_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + dependencies_.makeImmutable(); + result.dependencies_ = dependencies_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentUnit) { + return mergeFrom((com.google.cloud.config.v1.DeploymentUnit) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentUnit other) { + if (other == com.google.cloud.config.v1.DeploymentUnit.getDefaultInstance()) return this; + if (!other.getId().isEmpty()) { + id_ = other.id_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasDeployment()) { + deployment_ = other.deployment_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.dependencies_.isEmpty()) { + if (dependencies_.isEmpty()) { + dependencies_ = other.dependencies_; + bitField0_ |= 0x00000004; + } else { + ensureDependenciesIsMutable(); + dependencies_.addAll(other.dependencies_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deployment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureDependenciesIsMutable(); + dependencies_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * + * + *
    +     * The id of the deployment unit. Must be unique within the deployment group.
    +     * 
    + * + * string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * The id of the deployment unit. Must be unique within the deployment group.
    +     * 
    + * + * string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * The id of the deployment unit. Must be unique within the deployment group.
    +     * 
    + * + * string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * The id of the deployment unit. Must be unique within the deployment group.
    +     * 
    + * + * string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + id_ = getDefaultInstance().getId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * The id of the deployment unit. Must be unique within the deployment group.
    +     * 
    + * + * string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object deployment_ = ""; + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the deployment field is set. + */ + public boolean hasDeployment() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The deployment to set. + * @return This builder for chaining. + */ + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + deployment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearDeployment() { + deployment_ = getDefaultInstance().getDeployment(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for deployment to set. + * @return This builder for chaining. + */ + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deployment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList dependencies_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureDependenciesIsMutable() { + if (!dependencies_.isModifiable()) { + dependencies_ = new com.google.protobuf.LazyStringArrayList(dependencies_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the dependencies. + */ + public com.google.protobuf.ProtocolStringList getDependenciesList() { + dependencies_.makeImmutable(); + return dependencies_; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of dependencies. + */ + public int getDependenciesCount() { + return dependencies_.size(); + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The dependencies at the given index. + */ + public java.lang.String getDependencies(int index) { + return dependencies_.get(index); + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the dependencies at the given index. + */ + public com.google.protobuf.ByteString getDependenciesBytes(int index) { + return dependencies_.getByteString(index); + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The dependencies to set. + * @return This builder for chaining. + */ + public Builder setDependencies(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependenciesIsMutable(); + dependencies_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The dependencies to add. + * @return This builder for chaining. + */ + public Builder addDependencies(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependenciesIsMutable(); + dependencies_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The dependencies to add. + * @return This builder for chaining. + */ + public Builder addAllDependencies(java.lang.Iterable values) { + ensureDependenciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencies_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearDependencies() { + dependencies_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The IDs of the deployment units within the deployment group that
    +     * this unit depends on.
    +     * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the dependencies to add. + * @return This builder for chaining. + */ + public Builder addDependenciesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureDependenciesIsMutable(); + dependencies_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentUnit) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentUnit) + private static final com.google.cloud.config.v1.DeploymentUnit DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentUnit(); + } + + public static com.google.cloud.config.v1.DeploymentUnit getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentUnit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnit getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitOrBuilder.java new file mode 100644 index 000000000000..6e7a6cb03796 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitOrBuilder.java @@ -0,0 +1,163 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentUnitOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentUnit) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * The id of the deployment unit. Must be unique within the deployment group.
    +   * 
    + * + * string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * + * + *
    +   * The id of the deployment unit. Must be unique within the deployment group.
    +   * 
    + * + * string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return Whether the deployment field is set. + */ + boolean hasDeployment(); + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + java.lang.String getDeployment(); + + /** + * + * + *
    +   * Optional. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * optional string deployment = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + com.google.protobuf.ByteString getDeploymentBytes(); + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the dependencies. + */ + java.util.List getDependenciesList(); + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of dependencies. + */ + int getDependenciesCount(); + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The dependencies at the given index. + */ + java.lang.String getDependencies(int index); + + /** + * + * + *
    +   * Required. The IDs of the deployment units within the deployment group that
    +   * this unit depends on.
    +   * 
    + * + * repeated string dependencies = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the dependencies at the given index. + */ + com.google.protobuf.ByteString getDependenciesBytes(int index); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgress.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgress.java new file mode 100644 index 000000000000..9e8a8fff6a54 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgress.java @@ -0,0 +1,2527 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The progress of a deployment unit provisioning or deprovisioning.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentUnitProgress} + */ +@com.google.protobuf.Generated +public final class DeploymentUnitProgress extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeploymentUnitProgress) + DeploymentUnitProgressOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeploymentUnitProgress"); + } + + // Use DeploymentUnitProgress.newBuilder() to construct. + private DeploymentUnitProgress(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeploymentUnitProgress() { + unitId_ = ""; + deployment_ = ""; + state_ = 0; + stateDescription_ = ""; + intent_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnitProgress_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentUnitProgress.class, + com.google.cloud.config.v1.DeploymentUnitProgress.Builder.class); + } + + /** + * + * + *
    +   * The possible steps a deployment unit provisioning may be running.
    +   * 
    + * + * Protobuf enum {@code google.cloud.config.v1.DeploymentUnitProgress.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * The default value. This value is unused.
    +     * 
    + * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + * + * + *
    +     * The deployment unit is queued for deployment creation or update.
    +     * 
    + * + * QUEUED = 1; + */ + QUEUED(1), + /** + * + * + *
    +     * The underlying deployment of the unit is being created or updated.
    +     * 
    + * + * APPLYING_DEPLOYMENT = 2; + */ + APPLYING_DEPLOYMENT(2), + /** + * + * + *
    +     * The underlying deployment operation of the unit has succeeded.
    +     * 
    + * + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + /** + * + * + *
    +     * The underlying deployment operation of the unit has failed.
    +     * 
    + * + * FAILED = 5; + */ + FAILED(5), + /** + * + * + *
    +     * The deployment unit was aborted, likely due to failures in other
    +     * dependent deployment units.
    +     * 
    + * + * ABORTED = 6; + */ + ABORTED(6), + /** + * + * + *
    +     * The deployment unit was skipped because there were no changes to apply.
    +     * 
    + * + * SKIPPED = 7; + */ + SKIPPED(7), + /** + * + * + *
    +     * The deployment is being deleted.
    +     * 
    + * + * DELETING_DEPLOYMENT = 8; + */ + DELETING_DEPLOYMENT(8), + /** + * + * + *
    +     * The deployment is being previewed.
    +     * 
    + * + * PREVIEWING_DEPLOYMENT = 9; + */ + PREVIEWING_DEPLOYMENT(9), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "State"); + } + + /** + * + * + *
    +     * The default value. This value is unused.
    +     * 
    + * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * The deployment unit is queued for deployment creation or update.
    +     * 
    + * + * QUEUED = 1; + */ + public static final int QUEUED_VALUE = 1; + + /** + * + * + *
    +     * The underlying deployment of the unit is being created or updated.
    +     * 
    + * + * APPLYING_DEPLOYMENT = 2; + */ + public static final int APPLYING_DEPLOYMENT_VALUE = 2; + + /** + * + * + *
    +     * The underlying deployment operation of the unit has succeeded.
    +     * 
    + * + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + + /** + * + * + *
    +     * The underlying deployment operation of the unit has failed.
    +     * 
    + * + * FAILED = 5; + */ + public static final int FAILED_VALUE = 5; + + /** + * + * + *
    +     * The deployment unit was aborted, likely due to failures in other
    +     * dependent deployment units.
    +     * 
    + * + * ABORTED = 6; + */ + public static final int ABORTED_VALUE = 6; + + /** + * + * + *
    +     * The deployment unit was skipped because there were no changes to apply.
    +     * 
    + * + * SKIPPED = 7; + */ + public static final int SKIPPED_VALUE = 7; + + /** + * + * + *
    +     * The deployment is being deleted.
    +     * 
    + * + * DELETING_DEPLOYMENT = 8; + */ + public static final int DELETING_DEPLOYMENT_VALUE = 8; + + /** + * + * + *
    +     * The deployment is being previewed.
    +     * 
    + * + * PREVIEWING_DEPLOYMENT = 9; + */ + public static final int PREVIEWING_DEPLOYMENT_VALUE = 9; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: + return STATE_UNSPECIFIED; + case 1: + return QUEUED; + case 2: + return APPLYING_DEPLOYMENT; + case 4: + return SUCCEEDED; + case 5: + return FAILED; + case 6: + return ABORTED; + case 7: + return SKIPPED; + case 8: + return DELETING_DEPLOYMENT; + case 9: + return PREVIEWING_DEPLOYMENT; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeploymentUnitProgress.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.DeploymentUnitProgress.State) + } + + /** + * + * + *
    +   * The possible intents of a deployment unit.
    +   * 
    + * + * Protobuf enum {@code google.cloud.config.v1.DeploymentUnitProgress.Intent} + */ + public enum Intent implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * Unspecified intent.
    +     * 
    + * + * INTENT_UNSPECIFIED = 0; + */ + INTENT_UNSPECIFIED(0), + /** + * + * + *
    +     * Create deployment in the unit from the deployment spec.
    +     * 
    + * + * CREATE_DEPLOYMENT = 1; + */ + CREATE_DEPLOYMENT(1), + /** + * + * + *
    +     * Update deployment in the unit.
    +     * 
    + * + * UPDATE_DEPLOYMENT = 2; + */ + UPDATE_DEPLOYMENT(2), + /** + * + * + *
    +     * Delete deployment in the unit.
    +     * 
    + * + * DELETE_DEPLOYMENT = 3; + */ + DELETE_DEPLOYMENT(3), + /** + * + * + *
    +     * Recreate deployment in the unit.
    +     * 
    + * + * RECREATE_DEPLOYMENT = 4; + */ + RECREATE_DEPLOYMENT(4), + /** + * + * + *
    +     * Delete deployment in latest successful revision while no longer
    +     * referenced in any deployment unit in the current deployment group.
    +     * 
    + * + * CLEAN_UP = 5; + */ + CLEAN_UP(5), + /** + * + * + *
    +     * Expected to be unchanged.
    +     * 
    + * + * UNCHANGED = 6; + */ + UNCHANGED(6), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "Intent"); + } + + /** + * + * + *
    +     * Unspecified intent.
    +     * 
    + * + * INTENT_UNSPECIFIED = 0; + */ + public static final int INTENT_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * Create deployment in the unit from the deployment spec.
    +     * 
    + * + * CREATE_DEPLOYMENT = 1; + */ + public static final int CREATE_DEPLOYMENT_VALUE = 1; + + /** + * + * + *
    +     * Update deployment in the unit.
    +     * 
    + * + * UPDATE_DEPLOYMENT = 2; + */ + public static final int UPDATE_DEPLOYMENT_VALUE = 2; + + /** + * + * + *
    +     * Delete deployment in the unit.
    +     * 
    + * + * DELETE_DEPLOYMENT = 3; + */ + public static final int DELETE_DEPLOYMENT_VALUE = 3; + + /** + * + * + *
    +     * Recreate deployment in the unit.
    +     * 
    + * + * RECREATE_DEPLOYMENT = 4; + */ + public static final int RECREATE_DEPLOYMENT_VALUE = 4; + + /** + * + * + *
    +     * Delete deployment in latest successful revision while no longer
    +     * referenced in any deployment unit in the current deployment group.
    +     * 
    + * + * CLEAN_UP = 5; + */ + public static final int CLEAN_UP_VALUE = 5; + + /** + * + * + *
    +     * Expected to be unchanged.
    +     * 
    + * + * UNCHANGED = 6; + */ + public static final int UNCHANGED_VALUE = 6; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Intent valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Intent forNumber(int value) { + switch (value) { + case 0: + return INTENT_UNSPECIFIED; + case 1: + return CREATE_DEPLOYMENT; + case 2: + return UPDATE_DEPLOYMENT; + case 3: + return DELETE_DEPLOYMENT; + case 4: + return RECREATE_DEPLOYMENT; + case 5: + return CLEAN_UP; + case 6: + return UNCHANGED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Intent findValueByNumber(int number) { + return Intent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.DeploymentUnitProgress.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final Intent[] VALUES = values(); + + public static Intent valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Intent(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.DeploymentUnitProgress.Intent) + } + + private int bitField0_; + public static final int UNIT_ID_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object unitId_ = ""; + + /** + * + * + *
    +   * Output only. The unit id of the deployment unit to be provisioned.
    +   * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The unitId. + */ + @java.lang.Override + public java.lang.String getUnitId() { + java.lang.Object ref = unitId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + unitId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. The unit id of the deployment unit to be provisioned.
    +   * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for unitId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getUnitIdBytes() { + java.lang.Object ref = unitId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + unitId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object deployment_ = ""; + + /** + * + * + *
    +   * Output only. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + @java.lang.Override + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 3; + private int state_ = 0; + + /** + * + * + *
    +   * Output only. The current step of the deployment unit provisioning.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
    +   * Output only. The current step of the deployment unit provisioning.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress.State getState() { + com.google.cloud.config.v1.DeploymentUnitProgress.State result = + com.google.cloud.config.v1.DeploymentUnitProgress.State.forNumber(state_); + return result == null + ? com.google.cloud.config.v1.DeploymentUnitProgress.State.UNRECOGNIZED + : result; + } + + public static final int STATE_DESCRIPTION_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object stateDescription_ = ""; + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + @java.lang.Override + public java.lang.String getStateDescription() { + java.lang.Object ref = stateDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stateDescription_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + @java.lang.Override + public com.google.protobuf.ByteString getStateDescriptionBytes() { + java.lang.Object ref = stateDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + stateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER = 5; + private com.google.cloud.config.v1.DeploymentOperationSummary deploymentOperationSummary_; + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deploymentOperationSummary field is set. + */ + @java.lang.Override + public boolean hasDeploymentOperationSummary() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentOperationSummary. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummary getDeploymentOperationSummary() { + return deploymentOperationSummary_ == null + ? com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance() + : deploymentOperationSummary_; + } + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder + getDeploymentOperationSummaryOrBuilder() { + return deploymentOperationSummary_ == null + ? com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance() + : deploymentOperationSummary_; + } + + public static final int ERROR_FIELD_NUMBER = 6; + private com.google.rpc.Status error_; + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. + */ + @java.lang.Override + public com.google.rpc.Status getError() { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } + + public static final int INTENT_FIELD_NUMBER = 7; + private int intent_ = 0; + + /** + * + * + *
    +   * Output only. The intent of the deployment unit.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for intent. + */ + @java.lang.Override + public int getIntentValue() { + return intent_; + } + + /** + * + * + *
    +   * Output only. The intent of the deployment unit.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The intent. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress.Intent getIntent() { + com.google.cloud.config.v1.DeploymentUnitProgress.Intent result = + com.google.cloud.config.v1.DeploymentUnitProgress.Intent.forNumber(intent_); + return result == null + ? com.google.cloud.config.v1.DeploymentUnitProgress.Intent.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unitId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, unitId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deployment_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, deployment_); + } + if (state_ + != com.google.cloud.config.v1.DeploymentUnitProgress.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(3, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stateDescription_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, stateDescription_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(5, getDeploymentOperationSummary()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(6, getError()); + } + if (intent_ + != com.google.cloud.config.v1.DeploymentUnitProgress.Intent.INTENT_UNSPECIFIED + .getNumber()) { + output.writeEnum(7, intent_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(unitId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, unitId_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deployment_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, deployment_); + } + if (state_ + != com.google.cloud.config.v1.DeploymentUnitProgress.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(stateDescription_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, stateDescription_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getDeploymentOperationSummary()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getError()); + } + if (intent_ + != com.google.cloud.config.v1.DeploymentUnitProgress.Intent.INTENT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, intent_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeploymentUnitProgress)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeploymentUnitProgress other = + (com.google.cloud.config.v1.DeploymentUnitProgress) obj; + + if (!getUnitId().equals(other.getUnitId())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; + if (state_ != other.state_) return false; + if (!getStateDescription().equals(other.getStateDescription())) return false; + if (hasDeploymentOperationSummary() != other.hasDeploymentOperationSummary()) return false; + if (hasDeploymentOperationSummary()) { + if (!getDeploymentOperationSummary().equals(other.getDeploymentOperationSummary())) + return false; + } + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError().equals(other.getError())) return false; + } + if (intent_ != other.intent_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + UNIT_ID_FIELD_NUMBER; + hash = (53 * hash) + getUnitId().hashCode(); + hash = (37 * hash) + DEPLOYMENT_FIELD_NUMBER; + hash = (53 * hash) + getDeployment().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + STATE_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getStateDescription().hashCode(); + if (hasDeploymentOperationSummary()) { + hash = (37 * hash) + DEPLOYMENT_OPERATION_SUMMARY_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentOperationSummary().hashCode(); + } + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + hash = (37 * hash) + INTENT_FIELD_NUMBER; + hash = (53 * hash) + intent_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.DeploymentUnitProgress prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The progress of a deployment unit provisioning or deprovisioning.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeploymentUnitProgress} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeploymentUnitProgress) + com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnitProgress_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeploymentUnitProgress.class, + com.google.cloud.config.v1.DeploymentUnitProgress.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeploymentUnitProgress.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetDeploymentOperationSummaryFieldBuilder(); + internalGetErrorFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + unitId_ = ""; + deployment_ = ""; + state_ = 0; + stateDescription_ = ""; + deploymentOperationSummary_ = null; + if (deploymentOperationSummaryBuilder_ != null) { + deploymentOperationSummaryBuilder_.dispose(); + deploymentOperationSummaryBuilder_ = null; + } + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + intent_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeploymentUnitProgress_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeploymentUnitProgress.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress build() { + com.google.cloud.config.v1.DeploymentUnitProgress result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress buildPartial() { + com.google.cloud.config.v1.DeploymentUnitProgress result = + new com.google.cloud.config.v1.DeploymentUnitProgress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.DeploymentUnitProgress result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.unitId_ = unitId_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deployment_ = deployment_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.stateDescription_ = stateDescription_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.deploymentOperationSummary_ = + deploymentOperationSummaryBuilder_ == null + ? deploymentOperationSummary_ + : deploymentOperationSummaryBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.intent_ = intent_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeploymentUnitProgress) { + return mergeFrom((com.google.cloud.config.v1.DeploymentUnitProgress) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeploymentUnitProgress other) { + if (other == com.google.cloud.config.v1.DeploymentUnitProgress.getDefaultInstance()) + return this; + if (!other.getUnitId().isEmpty()) { + unitId_ = other.unitId_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getDeployment().isEmpty()) { + deployment_ = other.deployment_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (!other.getStateDescription().isEmpty()) { + stateDescription_ = other.stateDescription_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (other.hasDeploymentOperationSummary()) { + mergeDeploymentOperationSummary(other.getDeploymentOperationSummary()); + } + if (other.hasError()) { + mergeError(other.getError()); + } + if (other.intent_ != 0) { + setIntentValue(other.getIntentValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + unitId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deployment_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + stateDescription_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + input.readMessage( + internalGetDeploymentOperationSummaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + input.readMessage(internalGetErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + intent_ = input.readEnum(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object unitId_ = ""; + + /** + * + * + *
    +     * Output only. The unit id of the deployment unit to be provisioned.
    +     * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The unitId. + */ + public java.lang.String getUnitId() { + java.lang.Object ref = unitId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + unitId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. The unit id of the deployment unit to be provisioned.
    +     * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for unitId. + */ + public com.google.protobuf.ByteString getUnitIdBytes() { + java.lang.Object ref = unitId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + unitId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. The unit id of the deployment unit to be provisioned.
    +     * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The unitId to set. + * @return This builder for chaining. + */ + public Builder setUnitId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + unitId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The unit id of the deployment unit to be provisioned.
    +     * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearUnitId() { + unitId_ = getDefaultInstance().getUnitId(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The unit id of the deployment unit to be provisioned.
    +     * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for unitId to set. + * @return This builder for chaining. + */ + public Builder setUnitIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + unitId_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object deployment_ = ""; + + /** + * + * + *
    +     * Output only. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + public java.lang.String getDeployment() { + java.lang.Object ref = deployment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deployment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + public com.google.protobuf.ByteString getDeploymentBytes() { + java.lang.Object ref = deployment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deployment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The deployment to set. + * @return This builder for chaining. + */ + public Builder setDeployment(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + deployment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearDeployment() { + deployment_ = getDefaultInstance().getDeployment(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The name of the deployment to be provisioned.
    +     * Format:
    +     * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +     * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for deployment to set. + * @return This builder for chaining. + */ + public Builder setDeploymentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deployment_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int state_ = 0; + + /** + * + * + *
    +     * Output only. The current step of the deployment unit provisioning.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override + public int getStateValue() { + return state_; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment unit provisioning.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + state_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment unit provisioning.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress.State getState() { + com.google.cloud.config.v1.DeploymentUnitProgress.State result = + com.google.cloud.config.v1.DeploymentUnitProgress.State.forNumber(state_); + return result == null + ? com.google.cloud.config.v1.DeploymentUnitProgress.State.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment unit provisioning.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.config.v1.DeploymentUnitProgress.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + state_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment unit provisioning.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000004); + state_ = 0; + onChanged(); + return this; + } + + private java.lang.Object stateDescription_ = ""; + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + public java.lang.String getStateDescription() { + java.lang.Object ref = stateDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stateDescription_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + public com.google.protobuf.ByteString getStateDescriptionBytes() { + java.lang.Object ref = stateDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + stateDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The stateDescription to set. + * @return This builder for chaining. + */ + public Builder setStateDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + stateDescription_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearStateDescription() { + stateDescription_ = getDefaultInstance().getStateDescription(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Additional information regarding the current state.
    +     * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for stateDescription to set. + * @return This builder for chaining. + */ + public Builder setStateDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stateDescription_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private com.google.cloud.config.v1.DeploymentOperationSummary deploymentOperationSummary_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentOperationSummary, + com.google.cloud.config.v1.DeploymentOperationSummary.Builder, + com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder> + deploymentOperationSummaryBuilder_; + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deploymentOperationSummary field is set. + */ + public boolean hasDeploymentOperationSummary() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentOperationSummary. + */ + public com.google.cloud.config.v1.DeploymentOperationSummary getDeploymentOperationSummary() { + if (deploymentOperationSummaryBuilder_ == null) { + return deploymentOperationSummary_ == null + ? com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance() + : deploymentOperationSummary_; + } else { + return deploymentOperationSummaryBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeploymentOperationSummary( + com.google.cloud.config.v1.DeploymentOperationSummary value) { + if (deploymentOperationSummaryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deploymentOperationSummary_ = value; + } else { + deploymentOperationSummaryBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeploymentOperationSummary( + com.google.cloud.config.v1.DeploymentOperationSummary.Builder builderForValue) { + if (deploymentOperationSummaryBuilder_ == null) { + deploymentOperationSummary_ = builderForValue.build(); + } else { + deploymentOperationSummaryBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeDeploymentOperationSummary( + com.google.cloud.config.v1.DeploymentOperationSummary value) { + if (deploymentOperationSummaryBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) + && deploymentOperationSummary_ != null + && deploymentOperationSummary_ + != com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance()) { + getDeploymentOperationSummaryBuilder().mergeFrom(value); + } else { + deploymentOperationSummary_ = value; + } + } else { + deploymentOperationSummaryBuilder_.mergeFrom(value); + } + if (deploymentOperationSummary_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearDeploymentOperationSummary() { + bitField0_ = (bitField0_ & ~0x00000010); + deploymentOperationSummary_ = null; + if (deploymentOperationSummaryBuilder_ != null) { + deploymentOperationSummaryBuilder_.dispose(); + deploymentOperationSummaryBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentOperationSummary.Builder + getDeploymentOperationSummaryBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return internalGetDeploymentOperationSummaryFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder + getDeploymentOperationSummaryOrBuilder() { + if (deploymentOperationSummaryBuilder_ != null) { + return deploymentOperationSummaryBuilder_.getMessageOrBuilder(); + } else { + return deploymentOperationSummary_ == null + ? com.google.cloud.config.v1.DeploymentOperationSummary.getDefaultInstance() + : deploymentOperationSummary_; + } + } + + /** + * + * + *
    +     * Output only. The summary of the deployment operation.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentOperationSummary, + com.google.cloud.config.v1.DeploymentOperationSummary.Builder, + com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder> + internalGetDeploymentOperationSummaryFieldBuilder() { + if (deploymentOperationSummaryBuilder_ == null) { + deploymentOperationSummaryBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentOperationSummary, + com.google.cloud.config.v1.DeploymentOperationSummary.Builder, + com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder>( + getDeploymentOperationSummary(), getParentForChildren(), isClean()); + deploymentOperationSummary_ = null; + } + return deploymentOperationSummaryBuilder_; + } + + private com.google.rpc.Status error_; + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + errorBuilder_; + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. + */ + public com.google.rpc.Status getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + } else { + errorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError(com.google.rpc.Status.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeError(com.google.rpc.Status value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) + && error_ != null + && error_ != com.google.rpc.Status.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + if (error_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000020); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.Status.Builder getErrorBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return internalGetErrorFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; + } + } + + /** + * + * + *
    +     * Output only. Holds the error status of the deployment unit provisioning.
    +     * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + internalGetErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.rpc.Status, + com.google.rpc.Status.Builder, + com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean()); + error_ = null; + } + return errorBuilder_; + } + + private int intent_ = 0; + + /** + * + * + *
    +     * Output only. The intent of the deployment unit.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for intent. + */ + @java.lang.Override + public int getIntentValue() { + return intent_; + } + + /** + * + * + *
    +     * Output only. The intent of the deployment unit.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for intent to set. + * @return This builder for chaining. + */ + public Builder setIntentValue(int value) { + intent_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The intent of the deployment unit.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The intent. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress.Intent getIntent() { + com.google.cloud.config.v1.DeploymentUnitProgress.Intent result = + com.google.cloud.config.v1.DeploymentUnitProgress.Intent.forNumber(intent_); + return result == null + ? com.google.cloud.config.v1.DeploymentUnitProgress.Intent.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. The intent of the deployment unit.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The intent to set. + * @return This builder for chaining. + */ + public Builder setIntent(com.google.cloud.config.v1.DeploymentUnitProgress.Intent value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + intent_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The intent of the deployment unit.
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearIntent() { + bitField0_ = (bitField0_ & ~0x00000040); + intent_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeploymentUnitProgress) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeploymentUnitProgress) + private static final com.google.cloud.config.v1.DeploymentUnitProgress DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeploymentUnitProgress(); + } + + public static com.google.cloud.config.v1.DeploymentUnitProgress getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeploymentUnitProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgressOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgressOrBuilder.java new file mode 100644 index 000000000000..5608c23f3cf3 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeploymentUnitProgressOrBuilder.java @@ -0,0 +1,255 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeploymentUnitProgressOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeploymentUnitProgress) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Output only. The unit id of the deployment unit to be provisioned.
    +   * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The unitId. + */ + java.lang.String getUnitId(); + + /** + * + * + *
    +   * Output only. The unit id of the deployment unit to be provisioned.
    +   * 
    + * + * string unit_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for unitId. + */ + com.google.protobuf.ByteString getUnitIdBytes(); + + /** + * + * + *
    +   * Output only. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The deployment. + */ + java.lang.String getDeployment(); + + /** + * + * + *
    +   * Output only. The name of the deployment to be provisioned.
    +   * Format:
    +   * 'projects/{project}/locations/{location}/deployments/{deployment}'.
    +   * 
    + * + * + * string deployment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for deployment. + */ + com.google.protobuf.ByteString getDeploymentBytes(); + + /** + * + * + *
    +   * Output only. The current step of the deployment unit provisioning.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + + /** + * + * + *
    +   * Output only. The current step of the deployment unit provisioning.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The state. + */ + com.google.cloud.config.v1.DeploymentUnitProgress.State getState(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The stateDescription. + */ + java.lang.String getStateDescription(); + + /** + * + * + *
    +   * Output only. Additional information regarding the current state.
    +   * 
    + * + * string state_description = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for stateDescription. + */ + com.google.protobuf.ByteString getStateDescriptionBytes(); + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the deploymentOperationSummary field is set. + */ + boolean hasDeploymentOperationSummary(); + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The deploymentOperationSummary. + */ + com.google.cloud.config.v1.DeploymentOperationSummary getDeploymentOperationSummary(); + + /** + * + * + *
    +   * Output only. The summary of the deployment operation.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentOperationSummary deployment_operation_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.DeploymentOperationSummaryOrBuilder + getDeploymentOperationSummaryOrBuilder(); + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return Whether the error field is set. + */ + boolean hasError(); + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The error. + */ + com.google.rpc.Status getError(); + + /** + * + * + *
    +   * Output only. Holds the error status of the deployment unit provisioning.
    +   * 
    + * + * .google.rpc.Status error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.rpc.StatusOrBuilder getErrorOrBuilder(); + + /** + * + * + *
    +   * Output only. The intent of the deployment unit.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for intent. + */ + int getIntentValue(); + + /** + * + * + *
    +   * Output only. The intent of the deployment unit.
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentUnitProgress.Intent intent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The intent. + */ + com.google.cloud.config.v1.DeploymentUnitProgress.Intent getIntent(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequest.java new file mode 100644 index 000000000000..5704a2bd07e5 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequest.java @@ -0,0 +1,934 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the DeprovisionDeploymentGroup method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeprovisionDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class DeprovisionDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.DeprovisionDeploymentGroupRequest) + DeprovisionDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "DeprovisionDeploymentGroupRequest"); + } + + // Use DeprovisionDeploymentGroupRequest.newBuilder() to construct. + private DeprovisionDeploymentGroupRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private DeprovisionDeploymentGroupRequest() { + name_ = ""; + deletePolicy_ = 0; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.class, + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Required. The name of the deployment group to deprovision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of the deployment group to deprovision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FORCE_FIELD_NUMBER = 2; + private boolean force_ = false; + + /** + * + * + *
    +   * Optional. If set to true, this option is propagated to the deletion of each
    +   * deployment in the group. This corresponds to the 'force' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + + public static final int DELETE_POLICY_FIELD_NUMBER = 3; + private int deletePolicy_ = 0; + + /** + * + * + *
    +   * Optional. Policy on how resources within each deployment should be handled
    +   * during deletion. This policy is applied globally to the deletion of all
    +   * deployments in this group. This corresponds to the 'delete_policy' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deletePolicy. + */ + @java.lang.Override + public int getDeletePolicyValue() { + return deletePolicy_; + } + + /** + * + * + *
    +   * Optional. Policy on how resources within each deployment should be handled
    +   * during deletion. This policy is applied globally to the deletion of all
    +   * deployments in this group. This corresponds to the 'delete_policy' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deletePolicy. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy() { + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED + : result; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + if (force_ != false) { + output.writeBool(2, force_); + } + if (deletePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED + .getNumber()) { + output.writeEnum(3, deletePolicy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + } + if (deletePolicy_ + != com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.DELETE_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, deletePolicy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest other = + (com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; + if (deletePolicy_ != other.deletePolicy_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (37 * hash) + DELETE_POLICY_FIELD_NUMBER; + hash = (53 * hash) + deletePolicy_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the DeprovisionDeploymentGroup method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.DeprovisionDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.DeprovisionDeploymentGroupRequest) + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.class, + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + force_ = false; + deletePolicy_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_DeprovisionDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest + getDefaultInstanceForType() { + return com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest build() { + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest result = + new com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.force_ = force_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.deletePolicy_ = deletePolicy_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest other) { + if (other + == com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getForce() != false) { + setForce(other.getForce()); + } + if (other.deletePolicy_ != 0) { + setDeletePolicyValue(other.getDeletePolicyValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + force_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + deletePolicy_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Required. The name of the deployment group to deprovision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to deprovision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to deprovision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to deprovision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to deprovision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private boolean force_; + + /** + * + * + *
    +     * Optional. If set to true, this option is propagated to the deletion of each
    +     * deployment in the group. This corresponds to the 'force' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + + /** + * + * + *
    +     * Optional. If set to true, this option is propagated to the deletion of each
    +     * deployment in the group. This corresponds to the 'force' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. If set to true, this option is propagated to the deletion of each
    +     * deployment in the group. This corresponds to the 'force' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearForce() { + bitField0_ = (bitField0_ & ~0x00000002); + force_ = false; + onChanged(); + return this; + } + + private int deletePolicy_ = 0; + + /** + * + * + *
    +     * Optional. Policy on how resources within each deployment should be handled
    +     * during deletion. This policy is applied globally to the deletion of all
    +     * deployments in this group. This corresponds to the 'delete_policy' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deletePolicy. + */ + @java.lang.Override + public int getDeletePolicyValue() { + return deletePolicy_; + } + + /** + * + * + *
    +     * Optional. Policy on how resources within each deployment should be handled
    +     * during deletion. This policy is applied globally to the deletion of all
    +     * deployments in this group. This corresponds to the 'delete_policy' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The enum numeric value on the wire for deletePolicy to set. + * @return This builder for chaining. + */ + public Builder setDeletePolicyValue(int value) { + deletePolicy_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Policy on how resources within each deployment should be handled
    +     * during deletion. This policy is applied globally to the deletion of all
    +     * deployments in this group. This corresponds to the 'delete_policy' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deletePolicy. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy() { + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy result = + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.forNumber(deletePolicy_); + return result == null + ? com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Optional. Policy on how resources within each deployment should be handled
    +     * during deletion. This policy is applied globally to the deletion of all
    +     * deployments in this group. This corresponds to the 'delete_policy' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @param value The deletePolicy to set. + * @return This builder for chaining. + */ + public Builder setDeletePolicy( + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + deletePolicy_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Policy on how resources within each deployment should be handled
    +     * during deletion. This policy is applied globally to the deletion of all
    +     * deployments in this group. This corresponds to the 'delete_policy' field
    +     * in DeleteDeploymentRequest.
    +     * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return This builder for chaining. + */ + public Builder clearDeletePolicy() { + bitField0_ = (bitField0_ & ~0x00000004); + deletePolicy_ = 0; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.DeprovisionDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.DeprovisionDeploymentGroupRequest) + private static final com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeprovisionDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..0824d865b3f2 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/DeprovisionDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,113 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface DeprovisionDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.DeprovisionDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The name of the deployment group to deprovision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Required. The name of the deployment group to deprovision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Optional. If set to true, this option is propagated to the deletion of each
    +   * deployment in the group. This corresponds to the 'force' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The force. + */ + boolean getForce(); + + /** + * + * + *
    +   * Optional. Policy on how resources within each deployment should be handled
    +   * during deletion. This policy is applied globally to the deletion of all
    +   * deployments in this group. This corresponds to the 'delete_policy' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The enum numeric value on the wire for deletePolicy. + */ + int getDeletePolicyValue(); + + /** + * + * + *
    +   * Optional. Policy on how resources within each deployment should be handled
    +   * during deletion. This policy is applied globally to the deletion of all
    +   * deployments in this group. This corresponds to the 'delete_policy' field
    +   * in DeleteDeploymentRequest.
    +   * 
    + * + * + * .google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy delete_policy = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The deletePolicy. + */ + com.google.cloud.config.v1.DeleteDeploymentRequest.DeletePolicy getDeletePolicy(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSource.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSource.java new file mode 100644 index 000000000000..afdf5e85576e --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSource.java @@ -0,0 +1,794 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * Configuration for a source of an external value.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ExternalValueSource} + */ +@com.google.protobuf.Generated +public final class ExternalValueSource extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ExternalValueSource) + ExternalValueSourceOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ExternalValueSource"); + } + + // Use ExternalValueSource.newBuilder() to construct. + private ExternalValueSource(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ExternalValueSource() {} + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExternalValueSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExternalValueSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ExternalValueSource.class, + com.google.cloud.config.v1.ExternalValueSource.Builder.class); + } + + private int sourceCase_ = 0; + + @SuppressWarnings("serial") + private java.lang.Object source_; + + public enum SourceCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + DEPLOYMENT_SOURCE(1), + SOURCE_NOT_SET(0); + private final int value; + + private SourceCase(int value) { + this.value = value; + } + + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 1: + return DEPLOYMENT_SOURCE; + case 0: + return SOURCE_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public static final int DEPLOYMENT_SOURCE_FIELD_NUMBER = 1; + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return Whether the deploymentSource field is set. + */ + @java.lang.Override + public boolean hasDeploymentSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return The deploymentSource. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource getDeploymentSource() { + if (sourceCase_ == 1) { + return (com.google.cloud.config.v1.DeploymentSource) source_; + } + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSourceOrBuilder getDeploymentSourceOrBuilder() { + if (sourceCase_ == 1) { + return (com.google.cloud.config.v1.DeploymentSource) source_; + } + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (sourceCase_ == 1) { + output.writeMessage(1, (com.google.cloud.config.v1.DeploymentSource) source_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (sourceCase_ == 1) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.cloud.config.v1.DeploymentSource) source_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ExternalValueSource)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ExternalValueSource other = + (com.google.cloud.config.v1.ExternalValueSource) obj; + + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 1: + if (!getDeploymentSource().equals(other.getDeploymentSource())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (sourceCase_) { + case 1: + hash = (37 * hash) + DEPLOYMENT_SOURCE_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentSource().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ExternalValueSource parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.ExternalValueSource prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * Configuration for a source of an external value.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ExternalValueSource} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ExternalValueSource) + com.google.cloud.config.v1.ExternalValueSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExternalValueSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExternalValueSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ExternalValueSource.class, + com.google.cloud.config.v1.ExternalValueSource.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ExternalValueSource.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (deploymentSourceBuilder_ != null) { + deploymentSourceBuilder_.clear(); + } + sourceCase_ = 0; + source_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ExternalValueSource_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource getDefaultInstanceForType() { + return com.google.cloud.config.v1.ExternalValueSource.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource build() { + com.google.cloud.config.v1.ExternalValueSource result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource buildPartial() { + com.google.cloud.config.v1.ExternalValueSource result = + new com.google.cloud.config.v1.ExternalValueSource(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.ExternalValueSource result) { + int from_bitField0_ = bitField0_; + } + + private void buildPartialOneofs(com.google.cloud.config.v1.ExternalValueSource result) { + result.sourceCase_ = sourceCase_; + result.source_ = this.source_; + if (sourceCase_ == 1 && deploymentSourceBuilder_ != null) { + result.source_ = deploymentSourceBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ExternalValueSource) { + return mergeFrom((com.google.cloud.config.v1.ExternalValueSource) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.ExternalValueSource other) { + if (other == com.google.cloud.config.v1.ExternalValueSource.getDefaultInstance()) return this; + switch (other.getSourceCase()) { + case DEPLOYMENT_SOURCE: + { + mergeDeploymentSource(other.getDeploymentSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetDeploymentSourceFieldBuilder().getBuilder(), extensionRegistry); + sourceCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentSource, + com.google.cloud.config.v1.DeploymentSource.Builder, + com.google.cloud.config.v1.DeploymentSourceOrBuilder> + deploymentSourceBuilder_; + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return Whether the deploymentSource field is set. + */ + @java.lang.Override + public boolean hasDeploymentSource() { + return sourceCase_ == 1; + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return The deploymentSource. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSource getDeploymentSource() { + if (deploymentSourceBuilder_ == null) { + if (sourceCase_ == 1) { + return (com.google.cloud.config.v1.DeploymentSource) source_; + } + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } else { + if (sourceCase_ == 1) { + return deploymentSourceBuilder_.getMessage(); + } + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + public Builder setDeploymentSource(com.google.cloud.config.v1.DeploymentSource value) { + if (deploymentSourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + deploymentSourceBuilder_.setMessage(value); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + public Builder setDeploymentSource( + com.google.cloud.config.v1.DeploymentSource.Builder builderForValue) { + if (deploymentSourceBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + deploymentSourceBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + public Builder mergeDeploymentSource(com.google.cloud.config.v1.DeploymentSource value) { + if (deploymentSourceBuilder_ == null) { + if (sourceCase_ == 1 + && source_ != com.google.cloud.config.v1.DeploymentSource.getDefaultInstance()) { + source_ = + com.google.cloud.config.v1.DeploymentSource.newBuilder( + (com.google.cloud.config.v1.DeploymentSource) source_) + .mergeFrom(value) + .buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 1) { + deploymentSourceBuilder_.mergeFrom(value); + } else { + deploymentSourceBuilder_.setMessage(value); + } + } + sourceCase_ = 1; + return this; + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + public Builder clearDeploymentSource() { + if (deploymentSourceBuilder_ == null) { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 1) { + sourceCase_ = 0; + source_ = null; + } + deploymentSourceBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + public com.google.cloud.config.v1.DeploymentSource.Builder getDeploymentSourceBuilder() { + return internalGetDeploymentSourceFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSourceOrBuilder getDeploymentSourceOrBuilder() { + if ((sourceCase_ == 1) && (deploymentSourceBuilder_ != null)) { + return deploymentSourceBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 1) { + return (com.google.cloud.config.v1.DeploymentSource) source_; + } + return com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + } + + /** + * + * + *
    +     * A source from a Deployment.
    +     * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentSource, + com.google.cloud.config.v1.DeploymentSource.Builder, + com.google.cloud.config.v1.DeploymentSourceOrBuilder> + internalGetDeploymentSourceFieldBuilder() { + if (deploymentSourceBuilder_ == null) { + if (!(sourceCase_ == 1)) { + source_ = com.google.cloud.config.v1.DeploymentSource.getDefaultInstance(); + } + deploymentSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentSource, + com.google.cloud.config.v1.DeploymentSource.Builder, + com.google.cloud.config.v1.DeploymentSourceOrBuilder>( + (com.google.cloud.config.v1.DeploymentSource) source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 1; + onChanged(); + return deploymentSourceBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ExternalValueSource) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ExternalValueSource) + private static final com.google.cloud.config.v1.ExternalValueSource DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ExternalValueSource(); + } + + public static com.google.cloud.config.v1.ExternalValueSource getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExternalValueSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSourceOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSourceOrBuilder.java new file mode 100644 index 000000000000..2353b64130d6 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ExternalValueSourceOrBuilder.java @@ -0,0 +1,67 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ExternalValueSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ExternalValueSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return Whether the deploymentSource field is set. + */ + boolean hasDeploymentSource(); + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + * + * @return The deploymentSource. + */ + com.google.cloud.config.v1.DeploymentSource getDeploymentSource(); + + /** + * + * + *
    +   * A source from a Deployment.
    +   * 
    + * + * .google.cloud.config.v1.DeploymentSource deployment_source = 1; + */ + com.google.cloud.config.v1.DeploymentSourceOrBuilder getDeploymentSourceOrBuilder(); + + com.google.cloud.config.v1.ExternalValueSource.SourceCase getSourceCase(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequest.java new file mode 100644 index 000000000000..a1eb82eac24a --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequest.java @@ -0,0 +1,624 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the GetDeploymentGroup method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.GetDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class GetDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetDeploymentGroupRequest) + GetDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetDeploymentGroupRequest"); + } + + // Use GetDeploymentGroupRequest.newBuilder() to construct. + private GetDeploymentGroupRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetDeploymentGroupRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.GetDeploymentGroupRequest.class, + com.google.cloud.config.v1.GetDeploymentGroupRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Required. The name of the deployment group to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of the deployment group to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.GetDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.GetDeploymentGroupRequest other = + (com.google.cloud.config.v1.GetDeploymentGroupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.config.v1.GetDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the GetDeploymentGroup method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.GetDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.GetDeploymentGroupRequest) + com.google.cloud.config.v1.GetDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.GetDeploymentGroupRequest.class, + com.google.cloud.config.v1.GetDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.GetDeploymentGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.GetDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRequest build() { + com.google.cloud.config.v1.GetDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.GetDeploymentGroupRequest result = + new com.google.cloud.config.v1.GetDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.GetDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.GetDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.GetDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.GetDeploymentGroupRequest other) { + if (other == com.google.cloud.config.v1.GetDeploymentGroupRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Required. The name of the deployment group to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetDeploymentGroupRequest) + private static final com.google.cloud.config.v1.GetDeploymentGroupRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..82003fa546ae --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface GetDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The name of the deployment group to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Required. The name of the deployment group to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequest.java new file mode 100644 index 000000000000..3082ab323023 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequest.java @@ -0,0 +1,630 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the GetDeploymentGroupRevision method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.GetDeploymentGroupRevisionRequest} + */ +@com.google.protobuf.Generated +public final class GetDeploymentGroupRevisionRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.GetDeploymentGroupRevisionRequest) + GetDeploymentGroupRevisionRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "GetDeploymentGroupRevisionRequest"); + } + + // Use GetDeploymentGroupRevisionRequest.newBuilder() to construct. + private GetDeploymentGroupRevisionRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private GetDeploymentGroupRevisionRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.class, + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Required. The name of the deployment group revision to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of the deployment group revision to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest other = + (com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the GetDeploymentGroupRevision method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.GetDeploymentGroupRevisionRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.GetDeploymentGroupRevisionRequest) + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.class, + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_GetDeploymentGroupRevisionRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest + getDefaultInstanceForType() { + return com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest build() { + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest buildPartial() { + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest result = + new com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest) { + return mergeFrom((com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest other) { + if (other + == com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Required. The name of the deployment group revision to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group revision to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group revision to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group revision to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group revision to retrieve.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.GetDeploymentGroupRevisionRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.GetDeploymentGroupRevisionRequest) + private static final com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest(); + } + + public static com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeploymentGroupRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequestOrBuilder.java new file mode 100644 index 000000000000..fca193dad32e --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/GetDeploymentGroupRevisionRequestOrBuilder.java @@ -0,0 +1,62 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface GetDeploymentGroupRevisionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.GetDeploymentGroupRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The name of the deployment group revision to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Required. The name of the deployment group revision to retrieve.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequest.java new file mode 100644 index 000000000000..e3355748b2cc --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequest.java @@ -0,0 +1,958 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the ListDeploymentGroupRevisions method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupRevisionsRequest} + */ +@com.google.protobuf.Generated +public final class ListDeploymentGroupRevisionsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) + ListDeploymentGroupRevisionsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListDeploymentGroupRevisionsRequest"); + } + + // Use ListDeploymentGroupRevisionsRequest.newBuilder() to construct. + private ListDeploymentGroupRevisionsRequest( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListDeploymentGroupRevisionsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.class, + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment group
    +   * revisions. Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment group
    +   * revisions. Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
    +   * Optional. When requesting a page of resources, 'page_size' specifies number
    +   * of resources to return. If unspecified, a sensible default will be used by
    +   * the server. The maximum value is 1000; values above 1000 will be coerced to
    +   * 1000.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +   * which specifies the position in the list from where to continue listing the
    +   * deployment group revisions. All other parameters provided to
    +   * `ListDeploymentGroupRevisions` must match the call that provided the page
    +   * token.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +   * which specifies the position in the list from where to continue listing the
    +   * deployment group revisions. All other parameters provided to
    +   * `ListDeploymentGroupRevisions` must match the call that provided the page
    +   * token.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest other = + (com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the ListDeploymentGroupRevisions method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupRevisionsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.class, + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest + getDefaultInstanceForType() { + return com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest build() { + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest buildPartial() { + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest result = + new com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) { + return mergeFrom((com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest other) { + if (other + == com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment group
    +     * revisions. Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment group
    +     * revisions. Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment group
    +     * revisions. Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment group
    +     * revisions. Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment group
    +     * revisions. Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, a sensible default will be used by
    +     * the server. The maximum value is 1000; values above 1000 will be coerced to
    +     * 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, a sensible default will be used by
    +     * the server. The maximum value is 1000; values above 1000 will be coerced to
    +     * 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, a sensible default will be used by
    +     * the server. The maximum value is 1000; values above 1000 will be coerced to
    +     * 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +     * which specifies the position in the list from where to continue listing the
    +     * deployment group revisions. All other parameters provided to
    +     * `ListDeploymentGroupRevisions` must match the call that provided the page
    +     * token.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +     * which specifies the position in the list from where to continue listing the
    +     * deployment group revisions. All other parameters provided to
    +     * `ListDeploymentGroupRevisions` must match the call that provided the page
    +     * token.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +     * which specifies the position in the list from where to continue listing the
    +     * deployment group revisions. All other parameters provided to
    +     * `ListDeploymentGroupRevisions` must match the call that provided the page
    +     * token.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +     * which specifies the position in the list from where to continue listing the
    +     * deployment group revisions. All other parameters provided to
    +     * `ListDeploymentGroupRevisions` must match the call that provided the page
    +     * token.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +     * which specifies the position in the list from where to continue listing the
    +     * deployment group revisions. All other parameters provided to
    +     * `ListDeploymentGroupRevisions` must match the call that provided the page
    +     * token.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) + private static final com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest(); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentGroupRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequestOrBuilder.java new file mode 100644 index 000000000000..ee12600a8457 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsRequestOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ListDeploymentGroupRevisionsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentGroupRevisionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment group
    +   * revisions. Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment group
    +   * revisions. Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * Optional. When requesting a page of resources, 'page_size' specifies number
    +   * of resources to return. If unspecified, a sensible default will be used by
    +   * the server. The maximum value is 1000; values above 1000 will be coerced to
    +   * 1000.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +   * which specifies the position in the list from where to continue listing the
    +   * deployment group revisions. All other parameters provided to
    +   * `ListDeploymentGroupRevisions` must match the call that provided the page
    +   * token.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroupRevisions'
    +   * which specifies the position in the list from where to continue listing the
    +   * deployment group revisions. All other parameters provided to
    +   * `ListDeploymentGroupRevisions` must match the call that provided the page
    +   * token.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponse.java new file mode 100644 index 000000000000..786e5f51a644 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponse.java @@ -0,0 +1,1482 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The response message for the ListDeploymentGroupRevisions method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupRevisionsResponse} + */ +@com.google.protobuf.Generated +public final class ListDeploymentGroupRevisionsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) + ListDeploymentGroupRevisionsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListDeploymentGroupRevisionsResponse"); + } + + // Use ListDeploymentGroupRevisionsResponse.newBuilder() to construct. + private ListDeploymentGroupRevisionsResponse( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListDeploymentGroupRevisionsResponse() { + deploymentGroupRevisions_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.class, + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.Builder.class); + } + + public static final int DEPLOYMENT_GROUP_REVISIONS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List + deploymentGroupRevisions_; + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + @java.lang.Override + public java.util.List + getDeploymentGroupRevisionsList() { + return deploymentGroupRevisions_; + } + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + @java.lang.Override + public java.util.List + getDeploymentGroupRevisionsOrBuilderList() { + return deploymentGroupRevisions_; + } + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + @java.lang.Override + public int getDeploymentGroupRevisionsCount() { + return deploymentGroupRevisions_.size(); + } + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevision getDeploymentGroupRevisions(int index) { + return deploymentGroupRevisions_.get(index); + } + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder + getDeploymentGroupRevisionsOrBuilder(int index) { + return deploymentGroupRevisions_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + return unreachable_; + } + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < deploymentGroupRevisions_.size(); i++) { + output.writeMessage(1, deploymentGroupRevisions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, unreachable_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < deploymentGroupRevisions_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, deploymentGroupRevisions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse other = + (com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) obj; + + if (!getDeploymentGroupRevisionsList().equals(other.getDeploymentGroupRevisionsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDeploymentGroupRevisionsCount() > 0) { + hash = (37 * hash) + DEPLOYMENT_GROUP_REVISIONS_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentGroupRevisionsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The response message for the ListDeploymentGroupRevisions method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupRevisionsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.class, + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (deploymentGroupRevisionsBuilder_ == null) { + deploymentGroupRevisions_ = java.util.Collections.emptyList(); + } else { + deploymentGroupRevisions_ = null; + deploymentGroupRevisionsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupRevisionsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + getDefaultInstanceForType() { + return com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse build() { + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse buildPartial() { + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse result = + new com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse result) { + if (deploymentGroupRevisionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + deploymentGroupRevisions_ = + java.util.Collections.unmodifiableList(deploymentGroupRevisions_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.deploymentGroupRevisions_ = deploymentGroupRevisions_; + } else { + result.deploymentGroupRevisions_ = deploymentGroupRevisionsBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + unreachable_.makeImmutable(); + result.unreachable_ = unreachable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) { + return mergeFrom((com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse other) { + if (other + == com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse.getDefaultInstance()) + return this; + if (deploymentGroupRevisionsBuilder_ == null) { + if (!other.deploymentGroupRevisions_.isEmpty()) { + if (deploymentGroupRevisions_.isEmpty()) { + deploymentGroupRevisions_ = other.deploymentGroupRevisions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.addAll(other.deploymentGroupRevisions_); + } + onChanged(); + } + } else { + if (!other.deploymentGroupRevisions_.isEmpty()) { + if (deploymentGroupRevisionsBuilder_.isEmpty()) { + deploymentGroupRevisionsBuilder_.dispose(); + deploymentGroupRevisionsBuilder_ = null; + deploymentGroupRevisions_ = other.deploymentGroupRevisions_; + bitField0_ = (bitField0_ & ~0x00000001); + deploymentGroupRevisionsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDeploymentGroupRevisionsFieldBuilder() + : null; + } else { + deploymentGroupRevisionsBuilder_.addAllMessages(other.deploymentGroupRevisions_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ |= 0x00000004; + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.config.v1.DeploymentGroupRevision m = + input.readMessage( + com.google.cloud.config.v1.DeploymentGroupRevision.parser(), + extensionRegistry); + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.add(m); + } else { + deploymentGroupRevisionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List + deploymentGroupRevisions_ = java.util.Collections.emptyList(); + + private void ensureDeploymentGroupRevisionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + deploymentGroupRevisions_ = + new java.util.ArrayList( + deploymentGroupRevisions_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroupRevision, + com.google.cloud.config.v1.DeploymentGroupRevision.Builder, + com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder> + deploymentGroupRevisionsBuilder_; + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public java.util.List + getDeploymentGroupRevisionsList() { + if (deploymentGroupRevisionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(deploymentGroupRevisions_); + } else { + return deploymentGroupRevisionsBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public int getDeploymentGroupRevisionsCount() { + if (deploymentGroupRevisionsBuilder_ == null) { + return deploymentGroupRevisions_.size(); + } else { + return deploymentGroupRevisionsBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public com.google.cloud.config.v1.DeploymentGroupRevision getDeploymentGroupRevisions( + int index) { + if (deploymentGroupRevisionsBuilder_ == null) { + return deploymentGroupRevisions_.get(index); + } else { + return deploymentGroupRevisionsBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder setDeploymentGroupRevisions( + int index, com.google.cloud.config.v1.DeploymentGroupRevision value) { + if (deploymentGroupRevisionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.set(index, value); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder setDeploymentGroupRevisions( + int index, com.google.cloud.config.v1.DeploymentGroupRevision.Builder builderForValue) { + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.set(index, builderForValue.build()); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder addDeploymentGroupRevisions( + com.google.cloud.config.v1.DeploymentGroupRevision value) { + if (deploymentGroupRevisionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.add(value); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder addDeploymentGroupRevisions( + int index, com.google.cloud.config.v1.DeploymentGroupRevision value) { + if (deploymentGroupRevisionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.add(index, value); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder addDeploymentGroupRevisions( + com.google.cloud.config.v1.DeploymentGroupRevision.Builder builderForValue) { + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.add(builderForValue.build()); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder addDeploymentGroupRevisions( + int index, com.google.cloud.config.v1.DeploymentGroupRevision.Builder builderForValue) { + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.add(index, builderForValue.build()); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder addAllDeploymentGroupRevisions( + java.lang.Iterable values) { + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deploymentGroupRevisions_); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder clearDeploymentGroupRevisions() { + if (deploymentGroupRevisionsBuilder_ == null) { + deploymentGroupRevisions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public Builder removeDeploymentGroupRevisions(int index) { + if (deploymentGroupRevisionsBuilder_ == null) { + ensureDeploymentGroupRevisionsIsMutable(); + deploymentGroupRevisions_.remove(index); + onChanged(); + } else { + deploymentGroupRevisionsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public com.google.cloud.config.v1.DeploymentGroupRevision.Builder + getDeploymentGroupRevisionsBuilder(int index) { + return internalGetDeploymentGroupRevisionsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder + getDeploymentGroupRevisionsOrBuilder(int index) { + if (deploymentGroupRevisionsBuilder_ == null) { + return deploymentGroupRevisions_.get(index); + } else { + return deploymentGroupRevisionsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public java.util.List + getDeploymentGroupRevisionsOrBuilderList() { + if (deploymentGroupRevisionsBuilder_ != null) { + return deploymentGroupRevisionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(deploymentGroupRevisions_); + } + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public com.google.cloud.config.v1.DeploymentGroupRevision.Builder + addDeploymentGroupRevisionsBuilder() { + return internalGetDeploymentGroupRevisionsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.DeploymentGroupRevision.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public com.google.cloud.config.v1.DeploymentGroupRevision.Builder + addDeploymentGroupRevisionsBuilder(int index) { + return internalGetDeploymentGroupRevisionsFieldBuilder() + .addBuilder( + index, com.google.cloud.config.v1.DeploymentGroupRevision.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment group revisions from the specified collection.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + public java.util.List + getDeploymentGroupRevisionsBuilderList() { + return internalGetDeploymentGroupRevisionsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroupRevision, + com.google.cloud.config.v1.DeploymentGroupRevision.Builder, + com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder> + internalGetDeploymentGroupRevisionsFieldBuilder() { + if (deploymentGroupRevisionsBuilder_ == null) { + deploymentGroupRevisionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroupRevision, + com.google.cloud.config.v1.DeploymentGroupRevision.Builder, + com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder>( + deploymentGroupRevisions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + deploymentGroupRevisions_ = null; + } + return deploymentGroupRevisionsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachableIsMutable() { + if (!unreachable_.isModifiable()) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + unreachable_.makeImmutable(); + return unreachable_; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable(java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Unordered list. Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) + private static final com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse(); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentGroupRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponseOrBuilder.java new file mode 100644 index 000000000000..87f2ce0b3f1d --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupRevisionsResponseOrBuilder.java @@ -0,0 +1,173 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ListDeploymentGroupRevisionsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentGroupRevisionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + java.util.List + getDeploymentGroupRevisionsList(); + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + com.google.cloud.config.v1.DeploymentGroupRevision getDeploymentGroupRevisions(int index); + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + int getDeploymentGroupRevisionsCount(); + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + java.util.List + getDeploymentGroupRevisionsOrBuilderList(); + + /** + * + * + *
    +   * The deployment group revisions from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroupRevision deployment_group_revisions = 1; + * + */ + com.google.cloud.config.v1.DeploymentGroupRevisionOrBuilder getDeploymentGroupRevisionsOrBuilder( + int index); + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroupRevisions request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return A list containing the unreachable. + */ + java.util.List getUnreachableList(); + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @return The count of unreachable. + */ + int getUnreachableCount(); + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + + /** + * + * + *
    +   * Unordered list. Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST]; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString getUnreachableBytes(int index); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequest.java new file mode 100644 index 000000000000..5729b3f6092e --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequest.java @@ -0,0 +1,1451 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the ListDeploymentGroups method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupsRequest} + */ +@com.google.protobuf.Generated +public final class ListDeploymentGroupsRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentGroupsRequest) + ListDeploymentGroupsRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListDeploymentGroupsRequest"); + } + + // Use ListDeploymentGroupsRequest.newBuilder() to construct. + private ListDeploymentGroupsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListDeploymentGroupsRequest() { + parent_ = ""; + pageToken_ = ""; + filter_ = ""; + orderBy_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupsRequest.class, + com.google.cloud.config.v1.ListDeploymentGroupsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment groups.
    +   * Format: 'projects/{project_id}/locations/{location}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment groups.
    +   * Format: 'projects/{project_id}/locations/{location}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + + /** + * + * + *
    +   * Optional. When requesting a page of resources, 'page_size' specifies number
    +   * of resources to return. If unspecified, at most 500 will be returned. The
    +   * maximum value is 1000.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +   * specifies the position in the list from where to continue listing the
    +   * deployment groups.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +   * specifies the position in the list from where to continue listing the
    +   * deployment groups.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 4; + + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + + /** + * + * + *
    +   * Optional. Lists the DeploymentGroups that match the filter expression. A
    +   * filter expression filters the deployment groups listed in the response. The
    +   * expression must be of the form '{field} {operator} {value}' where
    +   * operators: '<', '>',
    +   * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +   * operator which is roughly synonymous with equality). {field} can refer to a
    +   * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +   * snake_case.
    +   *
    +   * Examples:
    +   * - Filter by name:
    +   * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +   *
    +   * - Filter by labels:
    +   * - Resources that have a key called 'foo'
    +   * labels.foo:*
    +   * - Resources that have a key called 'foo' whose value is 'bar'
    +   * labels.foo = bar
    +   *
    +   * - Filter by state:
    +   * - DeploymentGroups in CREATING state.
    +   * state=CREATING
    +   * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. Lists the DeploymentGroups that match the filter expression. A
    +   * filter expression filters the deployment groups listed in the response. The
    +   * expression must be of the form '{field} {operator} {value}' where
    +   * operators: '<', '>',
    +   * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +   * operator which is roughly synonymous with equality). {field} can refer to a
    +   * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +   * snake_case.
    +   *
    +   * Examples:
    +   * - Filter by name:
    +   * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +   *
    +   * - Filter by labels:
    +   * - Resources that have a key called 'foo'
    +   * labels.foo:*
    +   * - Resources that have a key called 'foo' whose value is 'bar'
    +   * labels.foo = bar
    +   *
    +   * - Filter by state:
    +   * - DeploymentGroups in CREATING state.
    +   * state=CREATING
    +   * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + + /** + * + * + *
    +   * Optional. Field to use to sort the list.
    +   * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. Field to use to sort the list.
    +   * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, filter_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, orderBy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, filter_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, orderBy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ListDeploymentGroupsRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ListDeploymentGroupsRequest other = + (com.google.cloud.config.v1.ListDeploymentGroupsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ListDeploymentGroupsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the ListDeploymentGroups method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentGroupsRequest) + com.google.cloud.config.v1.ListDeploymentGroupsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupsRequest.class, + com.google.cloud.config.v1.ListDeploymentGroupsRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ListDeploymentGroupsRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + filter_ = ""; + orderBy_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.ListDeploymentGroupsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsRequest build() { + com.google.cloud.config.v1.ListDeploymentGroupsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsRequest buildPartial() { + com.google.cloud.config.v1.ListDeploymentGroupsRequest result = + new com.google.cloud.config.v1.ListDeploymentGroupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.ListDeploymentGroupsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.orderBy_ = orderBy_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ListDeploymentGroupsRequest) { + return mergeFrom((com.google.cloud.config.v1.ListDeploymentGroupsRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentGroupsRequest other) { + if (other == com.google.cloud.config.v1.ListDeploymentGroupsRequest.getDefaultInstance()) + return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000010; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object parent_ = ""; + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment groups.
    +     * Format: 'projects/{project_id}/locations/{location}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment groups.
    +     * Format: 'projects/{project_id}/locations/{location}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment groups.
    +     * Format: 'projects/{project_id}/locations/{location}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment groups.
    +     * Format: 'projects/{project_id}/locations/{location}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The parent, which owns this collection of deployment groups.
    +     * Format: 'projects/{project_id}/locations/{location}'.
    +     * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_; + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, at most 500 will be returned. The
    +     * maximum value is 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, at most 500 will be returned. The
    +     * maximum value is 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. When requesting a page of resources, 'page_size' specifies number
    +     * of resources to return. If unspecified, at most 500 will be returned. The
    +     * maximum value is 1000.
    +     * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +     * specifies the position in the list from where to continue listing the
    +     * deployment groups.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +     * specifies the position in the list from where to continue listing the
    +     * deployment groups.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +     * specifies the position in the list from where to continue listing the
    +     * deployment groups.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +     * specifies the position in the list from where to continue listing the
    +     * deployment groups.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +     * specifies the position in the list from where to continue listing the
    +     * deployment groups.
    +     * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + + /** + * + * + *
    +     * Optional. Lists the DeploymentGroups that match the filter expression. A
    +     * filter expression filters the deployment groups listed in the response. The
    +     * expression must be of the form '{field} {operator} {value}' where
    +     * operators: '<', '>',
    +     * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +     * operator which is roughly synonymous with equality). {field} can refer to a
    +     * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +     * snake_case.
    +     *
    +     * Examples:
    +     * - Filter by name:
    +     * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +     *
    +     * - Filter by labels:
    +     * - Resources that have a key called 'foo'
    +     * labels.foo:*
    +     * - Resources that have a key called 'foo' whose value is 'bar'
    +     * labels.foo = bar
    +     *
    +     * - Filter by state:
    +     * - DeploymentGroups in CREATING state.
    +     * state=CREATING
    +     * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. Lists the DeploymentGroups that match the filter expression. A
    +     * filter expression filters the deployment groups listed in the response. The
    +     * expression must be of the form '{field} {operator} {value}' where
    +     * operators: '<', '>',
    +     * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +     * operator which is roughly synonymous with equality). {field} can refer to a
    +     * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +     * snake_case.
    +     *
    +     * Examples:
    +     * - Filter by name:
    +     * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +     *
    +     * - Filter by labels:
    +     * - Resources that have a key called 'foo'
    +     * labels.foo:*
    +     * - Resources that have a key called 'foo' whose value is 'bar'
    +     * labels.foo = bar
    +     *
    +     * - Filter by state:
    +     * - DeploymentGroups in CREATING state.
    +     * state=CREATING
    +     * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. Lists the DeploymentGroups that match the filter expression. A
    +     * filter expression filters the deployment groups listed in the response. The
    +     * expression must be of the form '{field} {operator} {value}' where
    +     * operators: '<', '>',
    +     * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +     * operator which is roughly synonymous with equality). {field} can refer to a
    +     * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +     * snake_case.
    +     *
    +     * Examples:
    +     * - Filter by name:
    +     * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +     *
    +     * - Filter by labels:
    +     * - Resources that have a key called 'foo'
    +     * labels.foo:*
    +     * - Resources that have a key called 'foo' whose value is 'bar'
    +     * labels.foo = bar
    +     *
    +     * - Filter by state:
    +     * - DeploymentGroups in CREATING state.
    +     * state=CREATING
    +     * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + filter_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Lists the DeploymentGroups that match the filter expression. A
    +     * filter expression filters the deployment groups listed in the response. The
    +     * expression must be of the form '{field} {operator} {value}' where
    +     * operators: '<', '>',
    +     * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +     * operator which is roughly synonymous with equality). {field} can refer to a
    +     * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +     * snake_case.
    +     *
    +     * Examples:
    +     * - Filter by name:
    +     * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +     *
    +     * - Filter by labels:
    +     * - Resources that have a key called 'foo'
    +     * labels.foo:*
    +     * - Resources that have a key called 'foo' whose value is 'bar'
    +     * labels.foo = bar
    +     *
    +     * - Filter by state:
    +     * - DeploymentGroups in CREATING state.
    +     * state=CREATING
    +     * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Lists the DeploymentGroups that match the filter expression. A
    +     * filter expression filters the deployment groups listed in the response. The
    +     * expression must be of the form '{field} {operator} {value}' where
    +     * operators: '<', '>',
    +     * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +     * operator which is roughly synonymous with equality). {field} can refer to a
    +     * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +     * snake_case.
    +     *
    +     * Examples:
    +     * - Filter by name:
    +     * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +     *
    +     * - Filter by labels:
    +     * - Resources that have a key called 'foo'
    +     * labels.foo:*
    +     * - Resources that have a key called 'foo' whose value is 'bar'
    +     * labels.foo = bar
    +     *
    +     * - Filter by state:
    +     * - DeploymentGroups in CREATING state.
    +     * state=CREATING
    +     * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + + /** + * + * + *
    +     * Optional. Field to use to sort the list.
    +     * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. Field to use to sort the list.
    +     * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. Field to use to sort the list.
    +     * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + orderBy_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Field to use to sort the list.
    +     * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Field to use to sort the list.
    +     * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentGroupsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentGroupsRequest) + private static final com.google.cloud.config.v1.ListDeploymentGroupsRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentGroupsRequest(); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequestOrBuilder.java new file mode 100644 index 000000000000..456d9e1c8dc6 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsRequestOrBuilder.java @@ -0,0 +1,199 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ListDeploymentGroupsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentGroupsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment groups.
    +   * Format: 'projects/{project_id}/locations/{location}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + + /** + * + * + *
    +   * Required. The parent, which owns this collection of deployment groups.
    +   * Format: 'projects/{project_id}/locations/{location}'.
    +   * 
    + * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
    +   * Optional. When requesting a page of resources, 'page_size' specifies number
    +   * of resources to return. If unspecified, at most 500 will be returned. The
    +   * maximum value is 1000.
    +   * 
    + * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageSize. + */ + int getPageSize(); + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +   * specifies the position in the list from where to continue listing the
    +   * deployment groups.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The pageToken. + */ + java.lang.String getPageToken(); + + /** + * + * + *
    +   * Optional. Token returned by previous call to 'ListDeploymentGroups' which
    +   * specifies the position in the list from where to continue listing the
    +   * deployment groups.
    +   * 
    + * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString getPageTokenBytes(); + + /** + * + * + *
    +   * Optional. Lists the DeploymentGroups that match the filter expression. A
    +   * filter expression filters the deployment groups listed in the response. The
    +   * expression must be of the form '{field} {operator} {value}' where
    +   * operators: '<', '>',
    +   * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +   * operator which is roughly synonymous with equality). {field} can refer to a
    +   * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +   * snake_case.
    +   *
    +   * Examples:
    +   * - Filter by name:
    +   * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +   *
    +   * - Filter by labels:
    +   * - Resources that have a key called 'foo'
    +   * labels.foo:*
    +   * - Resources that have a key called 'foo' whose value is 'bar'
    +   * labels.foo = bar
    +   *
    +   * - Filter by state:
    +   * - DeploymentGroups in CREATING state.
    +   * state=CREATING
    +   * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The filter. + */ + java.lang.String getFilter(); + + /** + * + * + *
    +   * Optional. Lists the DeploymentGroups that match the filter expression. A
    +   * filter expression filters the deployment groups listed in the response. The
    +   * expression must be of the form '{field} {operator} {value}' where
    +   * operators: '<', '>',
    +   * '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS
    +   * operator which is roughly synonymous with equality). {field} can refer to a
    +   * proto or JSON field, or a synthetic field. Field names can be camelCase or
    +   * snake_case.
    +   *
    +   * Examples:
    +   * - Filter by name:
    +   * name = "projects/foo/locations/us-central1/deploymentGroups/bar"
    +   *
    +   * - Filter by labels:
    +   * - Resources that have a key called 'foo'
    +   * labels.foo:*
    +   * - Resources that have a key called 'foo' whose value is 'bar'
    +   * labels.foo = bar
    +   *
    +   * - Filter by state:
    +   * - DeploymentGroups in CREATING state.
    +   * state=CREATING
    +   * 
    + * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for filter. + */ + com.google.protobuf.ByteString getFilterBytes(); + + /** + * + * + *
    +   * Optional. Field to use to sort the list.
    +   * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The orderBy. + */ + java.lang.String getOrderBy(); + + /** + * + * + *
    +   * Optional. Field to use to sort the list.
    +   * 
    + * + * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString getOrderByBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponse.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponse.java new file mode 100644 index 000000000000..151d598463ae --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponse.java @@ -0,0 +1,1420 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The response message for the ListDeploymentGroups method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupsResponse} + */ +@com.google.protobuf.Generated +public final class ListDeploymentGroupsResponse extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ListDeploymentGroupsResponse) + ListDeploymentGroupsResponseOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ListDeploymentGroupsResponse"); + } + + // Use ListDeploymentGroupsResponse.newBuilder() to construct. + private ListDeploymentGroupsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ListDeploymentGroupsResponse() { + deploymentGroups_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupsResponse.class, + com.google.cloud.config.v1.ListDeploymentGroupsResponse.Builder.class); + } + + public static final int DEPLOYMENT_GROUPS_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private java.util.List deploymentGroups_; + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + @java.lang.Override + public java.util.List getDeploymentGroupsList() { + return deploymentGroups_; + } + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + @java.lang.Override + public java.util.List + getDeploymentGroupsOrBuilderList() { + return deploymentGroups_; + } + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + @java.lang.Override + public int getDeploymentGroupsCount() { + return deploymentGroups_.size(); + } + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroups(int index) { + return deploymentGroups_.get(index); + } + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupsOrBuilder( + int index) { + return deploymentGroups_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroups request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroups request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + return unreachable_; + } + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < deploymentGroups_.size(); i++) { + output.writeMessage(1, deploymentGroups_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, unreachable_.getRaw(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < deploymentGroups_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deploymentGroups_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ListDeploymentGroupsResponse)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ListDeploymentGroupsResponse other = + (com.google.cloud.config.v1.ListDeploymentGroupsResponse) obj; + + if (!getDeploymentGroupsList().equals(other.getDeploymentGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDeploymentGroupsCount() > 0) { + hash = (37 * hash) + DEPLOYMENT_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentGroupsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ListDeploymentGroupsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The response message for the ListDeploymentGroups method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ListDeploymentGroupsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ListDeploymentGroupsResponse) + com.google.cloud.config.v1.ListDeploymentGroupsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ListDeploymentGroupsResponse.class, + com.google.cloud.config.v1.ListDeploymentGroupsResponse.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ListDeploymentGroupsResponse.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (deploymentGroupsBuilder_ == null) { + deploymentGroups_ = java.util.Collections.emptyList(); + } else { + deploymentGroups_ = null; + deploymentGroupsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ListDeploymentGroupsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsResponse getDefaultInstanceForType() { + return com.google.cloud.config.v1.ListDeploymentGroupsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsResponse build() { + com.google.cloud.config.v1.ListDeploymentGroupsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsResponse buildPartial() { + com.google.cloud.config.v1.ListDeploymentGroupsResponse result = + new com.google.cloud.config.v1.ListDeploymentGroupsResponse(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ListDeploymentGroupsResponse result) { + if (deploymentGroupsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + deploymentGroups_ = java.util.Collections.unmodifiableList(deploymentGroups_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.deploymentGroups_ = deploymentGroups_; + } else { + result.deploymentGroups_ = deploymentGroupsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.config.v1.ListDeploymentGroupsResponse result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + unreachable_.makeImmutable(); + result.unreachable_ = unreachable_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ListDeploymentGroupsResponse) { + return mergeFrom((com.google.cloud.config.v1.ListDeploymentGroupsResponse) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.ListDeploymentGroupsResponse other) { + if (other == com.google.cloud.config.v1.ListDeploymentGroupsResponse.getDefaultInstance()) + return this; + if (deploymentGroupsBuilder_ == null) { + if (!other.deploymentGroups_.isEmpty()) { + if (deploymentGroups_.isEmpty()) { + deploymentGroups_ = other.deploymentGroups_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.addAll(other.deploymentGroups_); + } + onChanged(); + } + } else { + if (!other.deploymentGroups_.isEmpty()) { + if (deploymentGroupsBuilder_.isEmpty()) { + deploymentGroupsBuilder_.dispose(); + deploymentGroupsBuilder_ = null; + deploymentGroups_ = other.deploymentGroups_; + bitField0_ = (bitField0_ & ~0x00000001); + deploymentGroupsBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDeploymentGroupsFieldBuilder() + : null; + } else { + deploymentGroupsBuilder_.addAllMessages(other.deploymentGroups_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ |= 0x00000004; + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.config.v1.DeploymentGroup m = + input.readMessage( + com.google.cloud.config.v1.DeploymentGroup.parser(), extensionRegistry); + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.add(m); + } else { + deploymentGroupsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.util.List deploymentGroups_ = + java.util.Collections.emptyList(); + + private void ensureDeploymentGroupsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + deploymentGroups_ = + new java.util.ArrayList(deploymentGroups_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + deploymentGroupsBuilder_; + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public java.util.List getDeploymentGroupsList() { + if (deploymentGroupsBuilder_ == null) { + return java.util.Collections.unmodifiableList(deploymentGroups_); + } else { + return deploymentGroupsBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public int getDeploymentGroupsCount() { + if (deploymentGroupsBuilder_ == null) { + return deploymentGroups_.size(); + } else { + return deploymentGroupsBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroups(int index) { + if (deploymentGroupsBuilder_ == null) { + return deploymentGroups_.get(index); + } else { + return deploymentGroupsBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder setDeploymentGroups( + int index, com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.set(index, value); + onChanged(); + } else { + deploymentGroupsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder setDeploymentGroups( + int index, com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.set(index, builderForValue.build()); + onChanged(); + } else { + deploymentGroupsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder addDeploymentGroups(com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.add(value); + onChanged(); + } else { + deploymentGroupsBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder addDeploymentGroups( + int index, com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.add(index, value); + onChanged(); + } else { + deploymentGroupsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder addDeploymentGroups( + com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.add(builderForValue.build()); + onChanged(); + } else { + deploymentGroupsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder addDeploymentGroups( + int index, com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.add(index, builderForValue.build()); + onChanged(); + } else { + deploymentGroupsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder addAllDeploymentGroups( + java.lang.Iterable values) { + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deploymentGroups_); + onChanged(); + } else { + deploymentGroupsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder clearDeploymentGroups() { + if (deploymentGroupsBuilder_ == null) { + deploymentGroups_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + deploymentGroupsBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public Builder removeDeploymentGroups(int index) { + if (deploymentGroupsBuilder_ == null) { + ensureDeploymentGroupsIsMutable(); + deploymentGroups_.remove(index); + onChanged(); + } else { + deploymentGroupsBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder getDeploymentGroupsBuilder( + int index) { + return internalGetDeploymentGroupsFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupsOrBuilder( + int index) { + if (deploymentGroupsBuilder_ == null) { + return deploymentGroups_.get(index); + } else { + return deploymentGroupsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public java.util.List + getDeploymentGroupsOrBuilderList() { + if (deploymentGroupsBuilder_ != null) { + return deploymentGroupsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(deploymentGroups_); + } + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder addDeploymentGroupsBuilder() { + return internalGetDeploymentGroupsFieldBuilder() + .addBuilder(com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder addDeploymentGroupsBuilder( + int index) { + return internalGetDeploymentGroupsFieldBuilder() + .addBuilder(index, com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()); + } + + /** + * + * + *
    +     * The deployment groups from the specified collection.
    +     * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + public java.util.List + getDeploymentGroupsBuilderList() { + return internalGetDeploymentGroupsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + internalGetDeploymentGroupsFieldBuilder() { + if (deploymentGroupsBuilder_ == null) { + deploymentGroupsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder>( + deploymentGroups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + deploymentGroups_ = null; + } + return deploymentGroupsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroups request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroups request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroups request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroups request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Token to be supplied to the next ListDeploymentGroups request via
    +     * `page_token` to obtain the next set of results.
    +     * 
    + * + * string next_page_token = 2; + * + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList unreachable_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + + private void ensureUnreachableIsMutable() { + if (!unreachable_.isModifiable()) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + } + bitField0_ |= 0x00000004; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList getUnreachableList() { + unreachable_.makeImmutable(); + return unreachable_; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable(java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Locations that could not be reached.
    +     * 
    + * + * repeated string unreachable = 3; + * + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ListDeploymentGroupsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ListDeploymentGroupsResponse) + private static final com.google.cloud.config.v1.ListDeploymentGroupsResponse DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ListDeploymentGroupsResponse(); + } + + public static com.google.cloud.config.v1.ListDeploymentGroupsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ListDeploymentGroupsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponseOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponseOrBuilder.java new file mode 100644 index 000000000000..abb0e632b8a5 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ListDeploymentGroupsResponseOrBuilder.java @@ -0,0 +1,166 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ListDeploymentGroupsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ListDeploymentGroupsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + java.util.List getDeploymentGroupsList(); + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + com.google.cloud.config.v1.DeploymentGroup getDeploymentGroups(int index); + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + int getDeploymentGroupsCount(); + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + java.util.List + getDeploymentGroupsOrBuilderList(); + + /** + * + * + *
    +   * The deployment groups from the specified collection.
    +   * 
    + * + * repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; + */ + com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupsOrBuilder(int index); + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroups request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + + /** + * + * + *
    +   * Token to be supplied to the next ListDeploymentGroups request via
    +   * `page_token` to obtain the next set of results.
    +   * 
    + * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @return A list containing the unreachable. + */ + java.util.List getUnreachableList(); + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @return The count of unreachable. + */ + int getUnreachableCount(); + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + + /** + * + * + *
    +   * Locations that could not be reached.
    +   * 
    + * + * repeated string unreachable = 3; + * + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString getUnreachableBytes(int index); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java index c5b05cbc2503..98ee57b4a233 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadata.java @@ -85,6 +85,7 @@ public enum ResourceMetadataCase com.google.protobuf.AbstractMessage.InternalOneOfEnum { DEPLOYMENT_METADATA(8), PREVIEW_METADATA(9), + PROVISION_DEPLOYMENT_GROUP_METADATA(10), RESOURCEMETADATA_NOT_SET(0); private final int value; @@ -108,6 +109,8 @@ public static ResourceMetadataCase forNumber(int value) { return DEPLOYMENT_METADATA; case 9: return PREVIEW_METADATA; + case 10: + return PROVISION_DEPLOYMENT_GROUP_METADATA; case 0: return RESOURCEMETADATA_NOT_SET; default: @@ -246,6 +249,72 @@ public com.google.cloud.config.v1.PreviewOperationMetadata getPreviewMetadata() return com.google.cloud.config.v1.PreviewOperationMetadata.getDefaultInstance(); } + public static final int PROVISION_DEPLOYMENT_GROUP_METADATA_FIELD_NUMBER = 10; + + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisionDeploymentGroupMetadata field is set. + */ + @java.lang.Override + public boolean hasProvisionDeploymentGroupMetadata() { + return resourceMetadataCase_ == 10; + } + + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisionDeploymentGroupMetadata. + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getProvisionDeploymentGroupMetadata() { + if (resourceMetadataCase_ == 10) { + return (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_; + } + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder + getProvisionDeploymentGroupMetadataOrBuilder() { + if (resourceMetadataCase_ == 10) { + return (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_; + } + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; @@ -628,6 +697,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage( 9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); } + if (resourceMetadataCase_ == 10) { + output.writeMessage( + 10, + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) resourceMetadata_); + } getUnknownFields().writeTo(output); } @@ -668,6 +742,13 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 9, (com.google.cloud.config.v1.PreviewOperationMetadata) resourceMetadata_); } + if (resourceMetadataCase_ == 10) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 10, + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -705,6 +786,10 @@ public boolean equals(final java.lang.Object obj) { case 9: if (!getPreviewMetadata().equals(other.getPreviewMetadata())) return false; break; + case 10: + if (!getProvisionDeploymentGroupMetadata() + .equals(other.getProvisionDeploymentGroupMetadata())) return false; + break; case 0: default: } @@ -746,6 +831,10 @@ public int hashCode() { hash = (37 * hash) + PREVIEW_METADATA_FIELD_NUMBER; hash = (53 * hash) + getPreviewMetadata().hashCode(); break; + case 10: + hash = (37 * hash) + PROVISION_DEPLOYMENT_GROUP_METADATA_FIELD_NUMBER; + hash = (53 * hash) + getProvisionDeploymentGroupMetadata().hashCode(); + break; case 0: default: } @@ -905,6 +994,9 @@ public Builder clear() { if (previewMetadataBuilder_ != null) { previewMetadataBuilder_.clear(); } + if (provisionDeploymentGroupMetadataBuilder_ != null) { + provisionDeploymentGroupMetadataBuilder_.clear(); + } createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -960,27 +1052,27 @@ public com.google.cloud.config.v1.OperationMetadata buildPartial() { private void buildPartial0(com.google.cloud.config.v1.OperationMetadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000004) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000010) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000010) != 0)) { + if (((from_bitField0_ & 0x00000020) != 0)) { result.target_ = target_; } - if (((from_bitField0_ & 0x00000020) != 0)) { + if (((from_bitField0_ & 0x00000040) != 0)) { result.verb_ = verb_; } - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.statusMessage_ = statusMessage_; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.requestedCancellation_ = requestedCancellation_; } - if (((from_bitField0_ & 0x00000100) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.apiVersion_ = apiVersion_; } result.bitField0_ |= to_bitField0_; @@ -995,6 +1087,9 @@ private void buildPartialOneofs(com.google.cloud.config.v1.OperationMetadata res if (resourceMetadataCase_ == 9 && previewMetadataBuilder_ != null) { result.resourceMetadata_ = previewMetadataBuilder_.build(); } + if (resourceMetadataCase_ == 10 && provisionDeploymentGroupMetadataBuilder_ != null) { + result.resourceMetadata_ = provisionDeploymentGroupMetadataBuilder_.build(); + } } @java.lang.Override @@ -1017,17 +1112,17 @@ public Builder mergeFrom(com.google.cloud.config.v1.OperationMetadata other) { } if (!other.getTarget().isEmpty()) { target_ = other.target_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } if (!other.getVerb().isEmpty()) { verb_ = other.verb_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } if (!other.getStatusMessage().isEmpty()) { statusMessage_ = other.statusMessage_; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); } if (other.getRequestedCancellation() != false) { @@ -1035,7 +1130,7 @@ public Builder mergeFrom(com.google.cloud.config.v1.OperationMetadata other) { } if (!other.getApiVersion().isEmpty()) { apiVersion_ = other.apiVersion_; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); } switch (other.getResourceMetadataCase()) { @@ -1049,6 +1144,11 @@ public Builder mergeFrom(com.google.cloud.config.v1.OperationMetadata other) { mergePreviewMetadata(other.getPreviewMetadata()); break; } + case PROVISION_DEPLOYMENT_GROUP_METADATA: + { + mergeProvisionDeploymentGroupMetadata(other.getProvisionDeploymentGroupMetadata()); + break; + } case RESOURCEMETADATA_NOT_SET: { break; @@ -1084,43 +1184,43 @@ public Builder mergeFrom( { input.readMessage( internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 10 case 18: { input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 18 case 26: { target_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 26 case 34: { verb_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 34 case 42: { statusMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 42 case 48: { requestedCancellation_ = input.readBool(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 48 case 58: { apiVersion_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } // case 58 case 66: @@ -1137,6 +1237,14 @@ public Builder mergeFrom( resourceMetadataCase_ = 9; break; } // case 74 + case 82: + { + input.readMessage( + internalGetProvisionDeploymentGroupMetadataFieldBuilder().getBuilder(), + extensionRegistry); + resourceMetadataCase_ = 10; + break; + } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1651,6 +1759,259 @@ public com.google.cloud.config.v1.PreviewOperationMetadata.Builder getPreviewMet return previewMetadataBuilder_; } + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder> + provisionDeploymentGroupMetadataBuilder_; + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisionDeploymentGroupMetadata field is set. + */ + @java.lang.Override + public boolean hasProvisionDeploymentGroupMetadata() { + return resourceMetadataCase_ == 10; + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisionDeploymentGroupMetadata. + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getProvisionDeploymentGroupMetadata() { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + if (resourceMetadataCase_ == 10) { + return (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_; + } + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } else { + if (resourceMetadataCase_ == 10) { + return provisionDeploymentGroupMetadataBuilder_.getMessage(); + } + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setProvisionDeploymentGroupMetadata( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata value) { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + resourceMetadata_ = value; + onChanged(); + } else { + provisionDeploymentGroupMetadataBuilder_.setMessage(value); + } + resourceMetadataCase_ = 10; + return this; + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setProvisionDeploymentGroupMetadata( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder + builderForValue) { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + resourceMetadata_ = builderForValue.build(); + onChanged(); + } else { + provisionDeploymentGroupMetadataBuilder_.setMessage(builderForValue.build()); + } + resourceMetadataCase_ = 10; + return this; + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder mergeProvisionDeploymentGroupMetadata( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata value) { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + if (resourceMetadataCase_ == 10 + && resourceMetadata_ + != com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance()) { + resourceMetadata_ = + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.newBuilder( + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_) + .mergeFrom(value) + .buildPartial(); + } else { + resourceMetadata_ = value; + } + onChanged(); + } else { + if (resourceMetadataCase_ == 10) { + provisionDeploymentGroupMetadataBuilder_.mergeFrom(value); + } else { + provisionDeploymentGroupMetadataBuilder_.setMessage(value); + } + } + resourceMetadataCase_ = 10; + return this; + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearProvisionDeploymentGroupMetadata() { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + if (resourceMetadataCase_ == 10) { + resourceMetadataCase_ = 0; + resourceMetadata_ = null; + onChanged(); + } + } else { + if (resourceMetadataCase_ == 10) { + resourceMetadataCase_ = 0; + resourceMetadata_ = null; + } + provisionDeploymentGroupMetadataBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder + getProvisionDeploymentGroupMetadataBuilder() { + return internalGetProvisionDeploymentGroupMetadataFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder + getProvisionDeploymentGroupMetadataOrBuilder() { + if ((resourceMetadataCase_ == 10) && (provisionDeploymentGroupMetadataBuilder_ != null)) { + return provisionDeploymentGroupMetadataBuilder_.getMessageOrBuilder(); + } else { + if (resourceMetadataCase_ == 10) { + return (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_; + } + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + } + + /** + * + * + *
    +     * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder> + internalGetProvisionDeploymentGroupMetadataFieldBuilder() { + if (provisionDeploymentGroupMetadataBuilder_ == null) { + if (!(resourceMetadataCase_ == 10)) { + resourceMetadata_ = + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + provisionDeploymentGroupMetadataBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder>( + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + resourceMetadata_, + getParentForChildren(), + isClean()); + resourceMetadata_ = null; + } + resourceMetadataCase_ = 10; + onChanged(); + return provisionDeploymentGroupMetadataBuilder_; + } + private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, @@ -1672,7 +2033,7 @@ public com.google.cloud.config.v1.PreviewOperationMetadata.Builder getPreviewMet * @return Whether the createTime field is set. */ public boolean hasCreateTime() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** @@ -1718,7 +2079,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { } else { createTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1740,7 +2101,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal } else { createTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1758,7 +2119,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000008) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); @@ -1769,7 +2130,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { createTimeBuilder_.mergeFrom(value); } if (createTime_ != null) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } return this; @@ -1787,7 +2148,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { * */ public Builder clearCreateTime() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); @@ -1809,7 +2170,7 @@ public Builder clearCreateTime() { * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return internalGetCreateTimeFieldBuilder().getBuilder(); } @@ -1883,7 +2244,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * @return Whether the endTime field is set. */ public boolean hasEndTime() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** @@ -1925,7 +2286,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { } else { endTimeBuilder_.setMessage(value); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1946,7 +2307,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) } else { endTimeBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1963,7 +2324,7 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) + if (((bitField0_ & 0x00000010) != 0) && endTime_ != null && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); @@ -1974,7 +2335,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { endTimeBuilder_.mergeFrom(value); } if (endTime_ != null) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } return this; @@ -1991,7 +2352,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { * */ public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); endTime_ = null; if (endTimeBuilder_ != null) { endTimeBuilder_.dispose(); @@ -2012,7 +2373,7 @@ public Builder clearEndTime() { * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return internalGetEndTimeFieldBuilder().getBuilder(); } @@ -2127,7 +2488,7 @@ public Builder setTarget(java.lang.String value) { throw new NullPointerException(); } target_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2145,7 +2506,7 @@ public Builder setTarget(java.lang.String value) { */ public Builder clearTarget() { target_ = getDefaultInstance().getTarget(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -2168,7 +2529,7 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); target_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2238,7 +2599,7 @@ public Builder setVerb(java.lang.String value) { throw new NullPointerException(); } verb_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2256,7 +2617,7 @@ public Builder setVerb(java.lang.String value) { */ public Builder clearVerb() { verb_ = getDefaultInstance().getVerb(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -2279,7 +2640,7 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); verb_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2349,7 +2710,7 @@ public Builder setStatusMessage(java.lang.String value) { throw new NullPointerException(); } statusMessage_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2367,7 +2728,7 @@ public Builder setStatusMessage(java.lang.String value) { */ public Builder clearStatusMessage() { statusMessage_ = getDefaultInstance().getStatusMessage(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -2390,7 +2751,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); statusMessage_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2436,7 +2797,7 @@ public boolean getRequestedCancellation() { public Builder setRequestedCancellation(boolean value) { requestedCancellation_ = value; - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2457,7 +2818,7 @@ public Builder setRequestedCancellation(boolean value) { * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); requestedCancellation_ = false; onChanged(); return this; @@ -2528,7 +2889,7 @@ public Builder setApiVersion(java.lang.String value) { throw new NullPointerException(); } apiVersion_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2546,7 +2907,7 @@ public Builder setApiVersion(java.lang.String value) { */ public Builder clearApiVersion() { apiVersion_ = getDefaultInstance().getApiVersion(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -2569,7 +2930,7 @@ public Builder setApiVersionBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); apiVersion_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return this; } diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java index a9f2ee4c42c9..edddfd3bdef1 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/OperationMetadataOrBuilder.java @@ -112,6 +112,51 @@ public interface OperationMetadataOrBuilder */ com.google.cloud.config.v1.PreviewOperationMetadataOrBuilder getPreviewMetadataOrBuilder(); + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return Whether the provisionDeploymentGroupMetadata field is set. + */ + boolean hasProvisionDeploymentGroupMetadata(); + + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The provisionDeploymentGroupMetadata. + */ + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getProvisionDeploymentGroupMetadata(); + + /** + * + * + *
    +   * Output only. Metadata about ProvisionDeploymentGroup operation state.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder + getProvisionDeploymentGroupMetadataOrBuilder(); + /** * * diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadata.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadata.java new file mode 100644 index 000000000000..c6b559892eaf --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadata.java @@ -0,0 +1,1518 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * Operation metadata for `ProvisionDeploymentGroup` and
    + * `DeprovisionDeploymentGroup` long-running operations.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata} + */ +@com.google.protobuf.Generated +public final class ProvisionDeploymentGroupOperationMetadata + extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + ProvisionDeploymentGroupOperationMetadataOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ProvisionDeploymentGroupOperationMetadata"); + } + + // Use ProvisionDeploymentGroupOperationMetadata.newBuilder() to construct. + private ProvisionDeploymentGroupOperationMetadata( + com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ProvisionDeploymentGroupOperationMetadata() { + step_ = 0; + deploymentUnitProgresses_ = java.util.Collections.emptyList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.class, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder.class); + } + + /** + * + * + *
    +   * Possible steps during a deployment group provisioning or deprovisioning
    +   * operation.
    +   * 
    + * + * Protobuf enum {@code + * google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep} + */ + public enum ProvisionDeploymentGroupStep implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
    +     * Unspecified step.
    +     * 
    + * + * PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED = 0; + */ + PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED(0), + /** + * + * + *
    +     * Validating the deployment group.
    +     * 
    + * + * VALIDATING_DEPLOYMENT_GROUP = 1; + */ + VALIDATING_DEPLOYMENT_GROUP(1), + /** + * + * + *
    +     * Locking the deployments to the deployment group for atomic actuation.
    +     * 
    + * + * ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP = 2; + */ + ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP(2), + /** + * + * + *
    +     * Provisioning the deployment units.
    +     * 
    + * + * PROVISIONING_DEPLOYMENT_UNITS = 3; + */ + PROVISIONING_DEPLOYMENT_UNITS(3), + /** + * + * + *
    +     * Unlocking the deployments from the deployment group after actuation.
    +     * 
    + * + * DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP = 4; + */ + DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP(4), + /** + * + * + *
    +     * The operation has succeeded.
    +     * 
    + * + * SUCCEEDED = 5; + */ + SUCCEEDED(5), + /** + * + * + *
    +     * The operation has failed.
    +     * 
    + * + * FAILED = 6; + */ + FAILED(6), + /** + * + * + *
    +     * Deprovisioning the deployment units.
    +     * 
    + * + * DEPROVISIONING_DEPLOYMENT_UNITS = 7; + */ + DEPROVISIONING_DEPLOYMENT_UNITS(7), + UNRECOGNIZED(-1), + ; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ProvisionDeploymentGroupStep"); + } + + /** + * + * + *
    +     * Unspecified step.
    +     * 
    + * + * PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED = 0; + */ + public static final int PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED_VALUE = 0; + + /** + * + * + *
    +     * Validating the deployment group.
    +     * 
    + * + * VALIDATING_DEPLOYMENT_GROUP = 1; + */ + public static final int VALIDATING_DEPLOYMENT_GROUP_VALUE = 1; + + /** + * + * + *
    +     * Locking the deployments to the deployment group for atomic actuation.
    +     * 
    + * + * ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP = 2; + */ + public static final int ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP_VALUE = 2; + + /** + * + * + *
    +     * Provisioning the deployment units.
    +     * 
    + * + * PROVISIONING_DEPLOYMENT_UNITS = 3; + */ + public static final int PROVISIONING_DEPLOYMENT_UNITS_VALUE = 3; + + /** + * + * + *
    +     * Unlocking the deployments from the deployment group after actuation.
    +     * 
    + * + * DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP = 4; + */ + public static final int DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP_VALUE = 4; + + /** + * + * + *
    +     * The operation has succeeded.
    +     * 
    + * + * SUCCEEDED = 5; + */ + public static final int SUCCEEDED_VALUE = 5; + + /** + * + * + *
    +     * The operation has failed.
    +     * 
    + * + * FAILED = 6; + */ + public static final int FAILED_VALUE = 6; + + /** + * + * + *
    +     * Deprovisioning the deployment units.
    +     * 
    + * + * DEPROVISIONING_DEPLOYMENT_UNITS = 7; + */ + public static final int DEPROVISIONING_DEPLOYMENT_UNITS_VALUE = 7; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ProvisionDeploymentGroupStep valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static ProvisionDeploymentGroupStep forNumber(int value) { + switch (value) { + case 0: + return PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED; + case 1: + return VALIDATING_DEPLOYMENT_GROUP; + case 2: + return ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP; + case 3: + return PROVISIONING_DEPLOYMENT_UNITS; + case 4: + return DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP; + case 5: + return SUCCEEDED; + case 6: + return FAILED; + case 7: + return DEPROVISIONING_DEPLOYMENT_UNITS; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ProvisionDeploymentGroupStep findValueByNumber(int number) { + return ProvisionDeploymentGroupStep.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final ProvisionDeploymentGroupStep[] VALUES = values(); + + public static ProvisionDeploymentGroupStep valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private ProvisionDeploymentGroupStep(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep) + } + + public static final int STEP_FIELD_NUMBER = 1; + private int step_ = 0; + + /** + * + * + *
    +   * Output only. The current step of the deployment group operation.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for step. + */ + @java.lang.Override + public int getStepValue() { + return step_; + } + + /** + * + * + *
    +   * Output only. The current step of the deployment group operation.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The step. + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep + getStep() { + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep + result = + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.UNRECOGNIZED + : result; + } + + public static final int DEPLOYMENT_UNIT_PROGRESSES_FIELD_NUMBER = 2; + + @SuppressWarnings("serial") + private java.util.List + deploymentUnitProgresses_; + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getDeploymentUnitProgressesList() { + return deploymentUnitProgresses_; + } + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public java.util.List + getDeploymentUnitProgressesOrBuilderList() { + return deploymentUnitProgresses_; + } + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public int getDeploymentUnitProgressesCount() { + return deploymentUnitProgresses_.size(); + } + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgress getDeploymentUnitProgresses(int index) { + return deploymentUnitProgresses_.get(index); + } + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder + getDeploymentUnitProgressesOrBuilder(int index) { + return deploymentUnitProgresses_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (step_ + != com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, step_); + } + for (int i = 0; i < deploymentUnitProgresses_.size(); i++) { + output.writeMessage(2, deploymentUnitProgresses_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (step_ + != com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, step_); + } + for (int i = 0; i < deploymentUnitProgresses_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, deploymentUnitProgresses_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata other = + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) obj; + + if (step_ != other.step_) return false; + if (!getDeploymentUnitProgressesList().equals(other.getDeploymentUnitProgressesList())) + return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STEP_FIELD_NUMBER; + hash = (53 * hash) + step_; + if (getDeploymentUnitProgressesCount() > 0) { + hash = (37 * hash) + DEPLOYMENT_UNIT_PROGRESSES_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentUnitProgressesList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * Operation metadata for `ProvisionDeploymentGroup` and
    +   * `DeprovisionDeploymentGroup` long-running operations.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.class, + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.Builder.class); + } + + // Construct using + // com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + step_ = 0; + if (deploymentUnitProgressesBuilder_ == null) { + deploymentUnitProgresses_ = java.util.Collections.emptyList(); + } else { + deploymentUnitProgresses_ = null; + deploymentUnitProgressesBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupOperationMetadata_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getDefaultInstanceForType() { + return com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata build() { + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata buildPartial() { + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata result = + new com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata result) { + if (deploymentUnitProgressesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + deploymentUnitProgresses_ = + java.util.Collections.unmodifiableList(deploymentUnitProgresses_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.deploymentUnitProgresses_ = deploymentUnitProgresses_; + } else { + result.deploymentUnitProgresses_ = deploymentUnitProgressesBuilder_.build(); + } + } + + private void buildPartial0( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.step_ = step_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) { + return mergeFrom( + (com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata other) { + if (other + == com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .getDefaultInstance()) return this; + if (other.step_ != 0) { + setStepValue(other.getStepValue()); + } + if (deploymentUnitProgressesBuilder_ == null) { + if (!other.deploymentUnitProgresses_.isEmpty()) { + if (deploymentUnitProgresses_.isEmpty()) { + deploymentUnitProgresses_ = other.deploymentUnitProgresses_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.addAll(other.deploymentUnitProgresses_); + } + onChanged(); + } + } else { + if (!other.deploymentUnitProgresses_.isEmpty()) { + if (deploymentUnitProgressesBuilder_.isEmpty()) { + deploymentUnitProgressesBuilder_.dispose(); + deploymentUnitProgressesBuilder_ = null; + deploymentUnitProgresses_ = other.deploymentUnitProgresses_; + bitField0_ = (bitField0_ & ~0x00000002); + deploymentUnitProgressesBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetDeploymentUnitProgressesFieldBuilder() + : null; + } else { + deploymentUnitProgressesBuilder_.addAllMessages(other.deploymentUnitProgresses_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: + { + step_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.cloud.config.v1.DeploymentUnitProgress m = + input.readMessage( + com.google.cloud.config.v1.DeploymentUnitProgress.parser(), + extensionRegistry); + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.add(m); + } else { + deploymentUnitProgressesBuilder_.addMessage(m); + } + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private int step_ = 0; + + /** + * + * + *
    +     * Output only. The current step of the deployment group operation.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for step. + */ + @java.lang.Override + public int getStepValue() { + return step_; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment group operation.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The enum numeric value on the wire for step to set. + * @return This builder for chaining. + */ + public Builder setStepValue(int value) { + step_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment group operation.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The step. + */ + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep + getStep() { + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep + result = + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.forNumber(step_); + return result == null + ? com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep.UNRECOGNIZED + : result; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment group operation.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @param value The step to set. + * @return This builder for chaining. + */ + public Builder setStep( + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + .ProvisionDeploymentGroupStep + value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + step_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The current step of the deployment group operation.
    +     * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return This builder for chaining. + */ + public Builder clearStep() { + bitField0_ = (bitField0_ & ~0x00000001); + step_ = 0; + onChanged(); + return this; + } + + private java.util.List + deploymentUnitProgresses_ = java.util.Collections.emptyList(); + + private void ensureDeploymentUnitProgressesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + deploymentUnitProgresses_ = + new java.util.ArrayList( + deploymentUnitProgresses_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnitProgress, + com.google.cloud.config.v1.DeploymentUnitProgress.Builder, + com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder> + deploymentUnitProgressesBuilder_; + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getDeploymentUnitProgressesList() { + if (deploymentUnitProgressesBuilder_ == null) { + return java.util.Collections.unmodifiableList(deploymentUnitProgresses_); + } else { + return deploymentUnitProgressesBuilder_.getMessageList(); + } + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public int getDeploymentUnitProgressesCount() { + if (deploymentUnitProgressesBuilder_ == null) { + return deploymentUnitProgresses_.size(); + } else { + return deploymentUnitProgressesBuilder_.getCount(); + } + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentUnitProgress getDeploymentUnitProgresses( + int index) { + if (deploymentUnitProgressesBuilder_ == null) { + return deploymentUnitProgresses_.get(index); + } else { + return deploymentUnitProgressesBuilder_.getMessage(index); + } + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeploymentUnitProgresses( + int index, com.google.cloud.config.v1.DeploymentUnitProgress value) { + if (deploymentUnitProgressesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.set(index, value); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder setDeploymentUnitProgresses( + int index, com.google.cloud.config.v1.DeploymentUnitProgress.Builder builderForValue) { + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.set(index, builderForValue.build()); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addDeploymentUnitProgresses( + com.google.cloud.config.v1.DeploymentUnitProgress value) { + if (deploymentUnitProgressesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.add(value); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.addMessage(value); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addDeploymentUnitProgresses( + int index, com.google.cloud.config.v1.DeploymentUnitProgress value) { + if (deploymentUnitProgressesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.add(index, value); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addDeploymentUnitProgresses( + com.google.cloud.config.v1.DeploymentUnitProgress.Builder builderForValue) { + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.add(builderForValue.build()); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addDeploymentUnitProgresses( + int index, com.google.cloud.config.v1.DeploymentUnitProgress.Builder builderForValue) { + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.add(index, builderForValue.build()); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder addAllDeploymentUnitProgresses( + java.lang.Iterable values) { + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deploymentUnitProgresses_); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder clearDeploymentUnitProgresses() { + if (deploymentUnitProgressesBuilder_ == null) { + deploymentUnitProgresses_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.clear(); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public Builder removeDeploymentUnitProgresses(int index) { + if (deploymentUnitProgressesBuilder_ == null) { + ensureDeploymentUnitProgressesIsMutable(); + deploymentUnitProgresses_.remove(index); + onChanged(); + } else { + deploymentUnitProgressesBuilder_.remove(index); + } + return this; + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentUnitProgress.Builder + getDeploymentUnitProgressesBuilder(int index) { + return internalGetDeploymentUnitProgressesFieldBuilder().getBuilder(index); + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder + getDeploymentUnitProgressesOrBuilder(int index) { + if (deploymentUnitProgressesBuilder_ == null) { + return deploymentUnitProgresses_.get(index); + } else { + return deploymentUnitProgressesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getDeploymentUnitProgressesOrBuilderList() { + if (deploymentUnitProgressesBuilder_ != null) { + return deploymentUnitProgressesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(deploymentUnitProgresses_); + } + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentUnitProgress.Builder + addDeploymentUnitProgressesBuilder() { + return internalGetDeploymentUnitProgressesFieldBuilder() + .addBuilder(com.google.cloud.config.v1.DeploymentUnitProgress.getDefaultInstance()); + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public com.google.cloud.config.v1.DeploymentUnitProgress.Builder + addDeploymentUnitProgressesBuilder(int index) { + return internalGetDeploymentUnitProgressesFieldBuilder() + .addBuilder( + index, com.google.cloud.config.v1.DeploymentUnitProgress.getDefaultInstance()); + } + + /** + * + * + *
    +     * Output only. Progress information for each deployment unit within the
    +     * operation.
    +     * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + public java.util.List + getDeploymentUnitProgressesBuilderList() { + return internalGetDeploymentUnitProgressesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnitProgress, + com.google.cloud.config.v1.DeploymentUnitProgress.Builder, + com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder> + internalGetDeploymentUnitProgressesFieldBuilder() { + if (deploymentUnitProgressesBuilder_ == null) { + deploymentUnitProgressesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilder< + com.google.cloud.config.v1.DeploymentUnitProgress, + com.google.cloud.config.v1.DeploymentUnitProgress.Builder, + com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder>( + deploymentUnitProgresses_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + deploymentUnitProgresses_ = null; + } + return deploymentUnitProgressesBuilder_; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + private static final com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata(); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionDeploymentGroupOperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadataOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadataOrBuilder.java new file mode 100644 index 000000000000..f89bf05c9aca --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupOperationMetadataOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ProvisionDeploymentGroupOperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Output only. The current step of the deployment group operation.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The enum numeric value on the wire for step. + */ + int getStepValue(); + + /** + * + * + *
    +   * Output only. The current step of the deployment group operation.
    +   * 
    + * + * + * .google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * + * @return The step. + */ + com.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata.ProvisionDeploymentGroupStep + getStep(); + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getDeploymentUnitProgressesList(); + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.DeploymentUnitProgress getDeploymentUnitProgresses(int index); + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + int getDeploymentUnitProgressesCount(); + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + java.util.List + getDeploymentUnitProgressesOrBuilderList(); + + /** + * + * + *
    +   * Output only. Progress information for each deployment unit within the
    +   * operation.
    +   * 
    + * + * + * repeated .google.cloud.config.v1.DeploymentUnitProgress deployment_unit_progresses = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + */ + com.google.cloud.config.v1.DeploymentUnitProgressOrBuilder getDeploymentUnitProgressesOrBuilder( + int index); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequest.java new file mode 100644 index 000000000000..b71c3948c3fe --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequest.java @@ -0,0 +1,1159 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * The request message for the ProvisionDeploymentGroup method.
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.ProvisionDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class ProvisionDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.ProvisionDeploymentGroupRequest) + ProvisionDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "ProvisionDeploymentGroupRequest"); + } + + // Use ProvisionDeploymentGroupRequest.newBuilder() to construct. + private ProvisionDeploymentGroupRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private ProvisionDeploymentGroupRequest() { + name_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetDeploymentSpecs(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.class, + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + + /** + * + * + *
    +   * Required. The name of the deployment group to provision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + + /** + * + * + *
    +   * Required. The name of the deployment group to provision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEPLOYMENT_SPECS_FIELD_NUMBER = 3; + + private static final class DeploymentSpecsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.DeploymentSpec> + defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_DeploymentSpecsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.config.v1.DeploymentSpec.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField + deploymentSpecs_; + + private com.google.protobuf.MapField + internalGetDeploymentSpecs() { + if (deploymentSpecs_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DeploymentSpecsDefaultEntryHolder.defaultEntry); + } + return deploymentSpecs_; + } + + public int getDeploymentSpecsCount() { + return internalGetDeploymentSpecs().getMap().size(); + } + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsDeploymentSpecs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetDeploymentSpecs().getMap().containsKey(key); + } + + /** Use {@link #getDeploymentSpecsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getDeploymentSpecs() { + return getDeploymentSpecsMap(); + } + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map + getDeploymentSpecsMap() { + return internalGetDeploymentSpecs().getMap(); + } + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.DeploymentSpec defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetDeploymentSpecs().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetDeploymentSpecs().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + } + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetDeploymentSpecs(), DeploymentSpecsDefaultEntryHolder.defaultEntry, 3); + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + } + for (java.util.Map.Entry entry : + internalGetDeploymentSpecs().getMap().entrySet()) { + com.google.protobuf.MapEntry + deploymentSpecs__ = + DeploymentSpecsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, deploymentSpecs__); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.ProvisionDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest other = + (com.google.cloud.config.v1.ProvisionDeploymentGroupRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (!internalGetDeploymentSpecs().equals(other.internalGetDeploymentSpecs())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (!internalGetDeploymentSpecs().getMap().isEmpty()) { + hash = (37 * hash) + DEPLOYMENT_SPECS_FIELD_NUMBER; + hash = (53 * hash) + internalGetDeploymentSpecs().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * The request message for the ProvisionDeploymentGroup method.
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.ProvisionDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.ProvisionDeploymentGroupRequest) + com.google.cloud.config.v1.ProvisionDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetDeploymentSpecs(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { + switch (number) { + case 3: + return internalGetMutableDeploymentSpecs(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.class, + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + internalGetMutableDeploymentSpecs().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_ProvisionDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupRequest build() { + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.ProvisionDeploymentGroupRequest result = + new com.google.cloud.config.v1.ProvisionDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.ProvisionDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deploymentSpecs_ = + internalGetDeploymentSpecs().build(DeploymentSpecsDefaultEntryHolder.defaultEntry); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.ProvisionDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.ProvisionDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.ProvisionDeploymentGroupRequest other) { + if (other == com.google.cloud.config.v1.ProvisionDeploymentGroupRequest.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + internalGetMutableDeploymentSpecs().mergeFrom(other.internalGetDeploymentSpecs()); + bitField0_ |= 0x00000002; + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.DeploymentSpec> + deploymentSpecs__ = + input.readMessage( + DeploymentSpecsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableDeploymentSpecs() + .ensureBuilderMap() + .put(deploymentSpecs__.getKey(), deploymentSpecs__.getValue()); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * + * + *
    +     * Required. The name of the deployment group to provision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to provision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Required. The name of the deployment group to provision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to provision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. The name of the deployment group to provision.
    +     * Format:
    +     * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +     * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private static final class DeploymentSpecsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.config.v1.DeploymentSpecOrBuilder, + com.google.cloud.config.v1.DeploymentSpec> { + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec build( + com.google.cloud.config.v1.DeploymentSpecOrBuilder val) { + if (val instanceof com.google.cloud.config.v1.DeploymentSpec) { + return (com.google.cloud.config.v1.DeploymentSpec) val; + } + return ((com.google.cloud.config.v1.DeploymentSpec.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.DeploymentSpec> + defaultEntry() { + return DeploymentSpecsDefaultEntryHolder.defaultEntry; + } + } + ; + + private static final DeploymentSpecsConverter deploymentSpecsConverter = + new DeploymentSpecsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.DeploymentSpecOrBuilder, + com.google.cloud.config.v1.DeploymentSpec, + com.google.cloud.config.v1.DeploymentSpec.Builder> + deploymentSpecs_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.DeploymentSpecOrBuilder, + com.google.cloud.config.v1.DeploymentSpec, + com.google.cloud.config.v1.DeploymentSpec.Builder> + internalGetDeploymentSpecs() { + if (deploymentSpecs_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(deploymentSpecsConverter); + } + return deploymentSpecs_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.DeploymentSpecOrBuilder, + com.google.cloud.config.v1.DeploymentSpec, + com.google.cloud.config.v1.DeploymentSpec.Builder> + internalGetMutableDeploymentSpecs() { + if (deploymentSpecs_ == null) { + deploymentSpecs_ = new com.google.protobuf.MapFieldBuilder<>(deploymentSpecsConverter); + } + bitField0_ |= 0x00000002; + onChanged(); + return deploymentSpecs_; + } + + public int getDeploymentSpecsCount() { + return internalGetDeploymentSpecs().ensureBuilderMap().size(); + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsDeploymentSpecs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetDeploymentSpecs().ensureBuilderMap().containsKey(key); + } + + /** Use {@link #getDeploymentSpecsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getDeploymentSpecs() { + return getDeploymentSpecsMap(); + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map + getDeploymentSpecsMap() { + return internalGetDeploymentSpecs().getImmutableMap(); + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.DeploymentSpec defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableDeploymentSpecs().ensureBuilderMap(); + return map.containsKey(key) ? deploymentSpecsConverter.build(map.get(key)) : defaultValue; + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableDeploymentSpecs().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return deploymentSpecsConverter.build(map.get(key)); + } + + public Builder clearDeploymentSpecs() { + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableDeploymentSpecs().clear(); + return this; + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeDeploymentSpecs(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableDeploymentSpecs().ensureBuilderMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableDeploymentSpecs() { + bitField0_ |= 0x00000002; + return internalGetMutableDeploymentSpecs().ensureMessageMap(); + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putDeploymentSpecs( + java.lang.String key, com.google.cloud.config.v1.DeploymentSpec value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableDeploymentSpecs().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000002; + return this; + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllDeploymentSpecs( + java.util.Map values) { + for (java.util.Map.Entry e : + values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableDeploymentSpecs().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000002; + return this; + } + + /** + * + * + *
    +     * Optional. The deployment specs of the deployment units to be created within
    +     * the same project and location of the deployment group. The key is the unit
    +     * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +     * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +     * in the same project and location. If an existing deployment was part of the
    +     * last successful revision but is no longer in the current DeploymentGroup's
    +     * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.config.v1.DeploymentSpec.Builder putDeploymentSpecsBuilderIfAbsent( + java.lang.String key) { + java.util.Map + builderMap = internalGetMutableDeploymentSpecs().ensureBuilderMap(); + com.google.cloud.config.v1.DeploymentSpecOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.config.v1.DeploymentSpec.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.config.v1.DeploymentSpec) { + entry = ((com.google.cloud.config.v1.DeploymentSpec) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.config.v1.DeploymentSpec.Builder) entry; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.ProvisionDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.ProvisionDeploymentGroupRequest) + private static final com.google.cloud.config.v1.ProvisionDeploymentGroupRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.ProvisionDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.ProvisionDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisionDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.ProvisionDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..a0021e7cb3ff --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/ProvisionDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,166 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface ProvisionDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.ProvisionDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Required. The name of the deployment group to provision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + + /** + * + * + *
    +   * Required. The name of the deployment group to provision.
    +   * Format:
    +   * 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
    +   * 
    + * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getDeploymentSpecsCount(); + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + boolean containsDeploymentSpecs(java.lang.String key); + + /** Use {@link #getDeploymentSpecsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getDeploymentSpecs(); + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.Map + getDeploymentSpecsMap(); + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + /* nullable */ + com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.DeploymentSpec defaultValue); + + /** + * + * + *
    +   * Optional. The deployment specs of the deployment units to be created within
    +   * the same project and location of the deployment group. The key is the unit
    +   * ID, and the value is the `DeploymentSpec`. Provisioning will fail if a
    +   * `deployment_spec` has a `deployment_id` that matches an existing deployment
    +   * in the same project and location. If an existing deployment was part of the
    +   * last successful revision but is no longer in the current DeploymentGroup's
    +   * `deployment_units`, it will be recreated if included in `deployment_specs`.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.DeploymentSpec> deployment_specs = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.config.v1.DeploymentSpec getDeploymentSpecsOrThrow(java.lang.String key); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java index b06664808491..0af7ba6a2c06 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprint.java @@ -66,6 +66,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl switch (number) { case 4: return internalGetInputValues(); + case 5: + return internalGetExternalValues(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -396,6 +398,139 @@ public com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow(java.l return map.get(key); } + public static final int EXTERNAL_VALUES_FIELD_NUMBER = 5; + + private static final class ExternalValuesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.ExternalValueSource> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_TerraformBlueprint_ExternalValuesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.config.v1.ExternalValueSource.getDefaultInstance()); + } + + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.config.v1.ExternalValueSource> + externalValues_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.config.v1.ExternalValueSource> + internalGetExternalValues() { + if (externalValues_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ExternalValuesDefaultEntryHolder.defaultEntry); + } + return externalValues_; + } + + public int getExternalValuesCount() { + return internalGetExternalValues().getMap().size(); + } + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsExternalValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetExternalValues().getMap().containsKey(key); + } + + /** Use {@link #getExternalValuesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getExternalValues() { + return getExternalValuesMap(); + } + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map + getExternalValuesMap() { + return internalGetExternalValues().getMap(); + } + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.ExternalValueSource defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetExternalValues().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetExternalValues().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -418,6 +553,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io } com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetInputValues(), InputValuesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessage.serializeStringMapTo( + output, internalGetExternalValues(), ExternalValuesDefaultEntryHolder.defaultEntry, 5); getUnknownFields().writeTo(output); } @@ -446,6 +583,17 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, inputValues__); } + for (java.util.Map.Entry + entry : internalGetExternalValues().getMap().entrySet()) { + com.google.protobuf.MapEntry + externalValues__ = + ExternalValuesDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, externalValues__); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -463,6 +611,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.cloud.config.v1.TerraformBlueprint) obj; if (!internalGetInputValues().equals(other.internalGetInputValues())) return false; + if (!internalGetExternalValues().equals(other.internalGetExternalValues())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 1: @@ -489,6 +638,10 @@ public int hashCode() { hash = (37 * hash) + INPUT_VALUES_FIELD_NUMBER; hash = (53 * hash) + internalGetInputValues().hashCode(); } + if (!internalGetExternalValues().getMap().isEmpty()) { + hash = (37 * hash) + EXTERNAL_VALUES_FIELD_NUMBER; + hash = (53 * hash) + internalGetExternalValues().hashCode(); + } switch (sourceCase_) { case 1: hash = (37 * hash) + GCS_SOURCE_FIELD_NUMBER; @@ -627,6 +780,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl switch (number) { case 4: return internalGetInputValues(); + case 5: + return internalGetExternalValues(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -638,6 +793,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi switch (number) { case 4: return internalGetMutableInputValues(); + case 5: + return internalGetMutableExternalValues(); default: throw new RuntimeException("Invalid map field number: " + number); } @@ -668,6 +825,7 @@ public Builder clear() { gitSourceBuilder_.clear(); } internalGetMutableInputValues().clear(); + internalGetMutableExternalValues().clear(); sourceCase_ = 0; source_ = null; return this; @@ -711,6 +869,10 @@ private void buildPartial0(com.google.cloud.config.v1.TerraformBlueprint result) result.inputValues_ = internalGetInputValues().build(InputValuesDefaultEntryHolder.defaultEntry); } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.externalValues_ = + internalGetExternalValues().build(ExternalValuesDefaultEntryHolder.defaultEntry); + } } private void buildPartialOneofs(com.google.cloud.config.v1.TerraformBlueprint result) { @@ -735,6 +897,8 @@ public Builder mergeFrom(com.google.cloud.config.v1.TerraformBlueprint other) { if (other == com.google.cloud.config.v1.TerraformBlueprint.getDefaultInstance()) return this; internalGetMutableInputValues().mergeFrom(other.internalGetInputValues()); bitField0_ |= 0x00000004; + internalGetMutableExternalValues().mergeFrom(other.internalGetExternalValues()); + bitField0_ |= 0x00000008; switch (other.getSourceCase()) { case GCS_SOURCE: { @@ -807,6 +971,20 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 34 + case 42: + { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.ExternalValueSource> + externalValues__ = + input.readMessage( + ExternalValuesDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableExternalValues() + .ensureBuilderMap() + .put(externalValues__.getKey(), externalValues__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1481,6 +1659,278 @@ public com.google.cloud.config.v1.TerraformVariable.Builder putInputValuesBuilde return (com.google.cloud.config.v1.TerraformVariable.Builder) entry; } + private static final class ExternalValuesConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.cloud.config.v1.ExternalValueSourceOrBuilder, + com.google.cloud.config.v1.ExternalValueSource> { + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource build( + com.google.cloud.config.v1.ExternalValueSourceOrBuilder val) { + if (val instanceof com.google.cloud.config.v1.ExternalValueSource) { + return (com.google.cloud.config.v1.ExternalValueSource) val; + } + return ((com.google.cloud.config.v1.ExternalValueSource.Builder) val).build(); + } + + @java.lang.Override + public com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.config.v1.ExternalValueSource> + defaultEntry() { + return ExternalValuesDefaultEntryHolder.defaultEntry; + } + } + ; + + private static final ExternalValuesConverter externalValuesConverter = + new ExternalValuesConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.ExternalValueSourceOrBuilder, + com.google.cloud.config.v1.ExternalValueSource, + com.google.cloud.config.v1.ExternalValueSource.Builder> + externalValues_; + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.ExternalValueSourceOrBuilder, + com.google.cloud.config.v1.ExternalValueSource, + com.google.cloud.config.v1.ExternalValueSource.Builder> + internalGetExternalValues() { + if (externalValues_ == null) { + return new com.google.protobuf.MapFieldBuilder<>(externalValuesConverter); + } + return externalValues_; + } + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.cloud.config.v1.ExternalValueSourceOrBuilder, + com.google.cloud.config.v1.ExternalValueSource, + com.google.cloud.config.v1.ExternalValueSource.Builder> + internalGetMutableExternalValues() { + if (externalValues_ == null) { + externalValues_ = new com.google.protobuf.MapFieldBuilder<>(externalValuesConverter); + } + bitField0_ |= 0x00000008; + onChanged(); + return externalValues_; + } + + public int getExternalValuesCount() { + return internalGetExternalValues().ensureBuilderMap().size(); + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public boolean containsExternalValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetExternalValues().ensureBuilderMap().containsKey(key); + } + + /** Use {@link #getExternalValuesMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map + getExternalValues() { + return getExternalValuesMap(); + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public java.util.Map + getExternalValuesMap() { + return internalGetExternalValues().getImmutableMap(); + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public /* nullable */ com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.ExternalValueSource defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableExternalValues().ensureBuilderMap(); + return map.containsKey(key) ? externalValuesConverter.build(map.get(key)) : defaultValue; + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrThrow( + java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = + internalGetMutableExternalValues().ensureBuilderMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return externalValuesConverter.build(map.get(key)); + } + + public Builder clearExternalValues() { + bitField0_ = (bitField0_ & ~0x00000008); + internalGetMutableExternalValues().clear(); + return this; + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder removeExternalValues(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableExternalValues().ensureBuilderMap().remove(key); + return this; + } + + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableExternalValues() { + bitField0_ |= 0x00000008; + return internalGetMutableExternalValues().ensureMessageMap(); + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putExternalValues( + java.lang.String key, com.google.cloud.config.v1.ExternalValueSource value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableExternalValues().ensureBuilderMap().put(key, value); + bitField0_ |= 0x00000008; + return this; + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder putAllExternalValues( + java.util.Map values) { + for (java.util.Map.Entry e : + values.entrySet()) { + if (e.getKey() == null || e.getValue() == null) { + throw new NullPointerException(); + } + } + internalGetMutableExternalValues().ensureBuilderMap().putAll(values); + bitField0_ |= 0x00000008; + return this; + } + + /** + * + * + *
    +     * Optional. Map of input variable names in this blueprint to configurations
    +     * for importing values from external sources.
    +     * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.cloud.config.v1.ExternalValueSource.Builder putExternalValuesBuilderIfAbsent( + java.lang.String key) { + java.util.Map + builderMap = internalGetMutableExternalValues().ensureBuilderMap(); + com.google.cloud.config.v1.ExternalValueSourceOrBuilder entry = builderMap.get(key); + if (entry == null) { + entry = com.google.cloud.config.v1.ExternalValueSource.newBuilder(); + builderMap.put(key, entry); + } + if (entry instanceof com.google.cloud.config.v1.ExternalValueSource) { + entry = ((com.google.cloud.config.v1.ExternalValueSource) entry).toBuilder(); + builderMap.put(key, entry); + } + return (com.google.cloud.config.v1.ExternalValueSource.Builder) entry; + } + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.TerraformBlueprint) } diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java index f194c7c8ef17..bd3c9dd66a11 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/TerraformBlueprintOrBuilder.java @@ -187,5 +187,85 @@ com.google.cloud.config.v1.TerraformVariable getInputValuesOrDefault( */ com.google.cloud.config.v1.TerraformVariable getInputValuesOrThrow(java.lang.String key); + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + int getExternalValuesCount(); + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + boolean containsExternalValues(java.lang.String key); + + /** Use {@link #getExternalValuesMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getExternalValues(); + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + java.util.Map + getExternalValuesMap(); + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + /* nullable */ + com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrDefault( + java.lang.String key, + /* nullable */ + com.google.cloud.config.v1.ExternalValueSource defaultValue); + + /** + * + * + *
    +   * Optional. Map of input variable names in this blueprint to configurations
    +   * for importing values from external sources.
    +   * 
    + * + * + * map<string, .google.cloud.config.v1.ExternalValueSource> external_values = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.cloud.config.v1.ExternalValueSource getExternalValuesOrThrow(java.lang.String key); + com.google.cloud.config.v1.TerraformBlueprint.SourceCase getSourceCase(); } diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequest.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequest.java new file mode 100644 index 000000000000..714ae0007379 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequest.java @@ -0,0 +1,1423 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +/** + * + * + *
    + * A request message for updating a deployment group
    + * 
    + * + * Protobuf type {@code google.cloud.config.v1.UpdateDeploymentGroupRequest} + */ +@com.google.protobuf.Generated +public final class UpdateDeploymentGroupRequest extends com.google.protobuf.GeneratedMessage + implements + // @@protoc_insertion_point(message_implements:google.cloud.config.v1.UpdateDeploymentGroupRequest) + UpdateDeploymentGroupRequestOrBuilder { + private static final long serialVersionUID = 0L; + + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 2, + /* suffix= */ "", + "UpdateDeploymentGroupRequest"); + } + + // Use UpdateDeploymentGroupRequest.newBuilder() to construct. + private UpdateDeploymentGroupRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + + private UpdateDeploymentGroupRequest() { + requestId_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest.class, + com.google.cloud.config.v1.UpdateDeploymentGroupRequest.Builder.class); + } + + private int bitField0_; + public static final int UPDATE_MASK_FIELD_NUMBER = 1; + private com.google.protobuf.FieldMask updateMask_; + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + + public static final int DEPLOYMENT_GROUP_FIELD_NUMBER = 2; + private com.google.cloud.config.v1.DeploymentGroup deploymentGroup_; + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + @java.lang.Override + public boolean hasDeploymentGroup() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup() { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder() { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 3; + + @SuppressWarnings("serial") + private volatile java.lang.Object requestId_ = ""; + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + @java.lang.Override + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } + } + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getUpdateMask()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getDeploymentGroup()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, requestId_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeploymentGroup()); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, requestId_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.config.v1.UpdateDeploymentGroupRequest)) { + return super.equals(obj); + } + com.google.cloud.config.v1.UpdateDeploymentGroupRequest other = + (com.google.cloud.config.v1.UpdateDeploymentGroupRequest) obj; + + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask().equals(other.getUpdateMask())) return false; + } + if (hasDeploymentGroup() != other.hasDeploymentGroup()) return false; + if (hasDeploymentGroup()) { + if (!getDeploymentGroup().equals(other.getDeploymentGroup())) return false; + } + if (!getRequestId().equals(other.getRequestId())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + if (hasDeploymentGroup()) { + hash = (37 * hash) + DEPLOYMENT_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentGroup().hashCode(); + } + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * + * + *
    +   * A request message for updating a deployment group
    +   * 
    + * + * Protobuf type {@code google.cloud.config.v1.UpdateDeploymentGroupRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.config.v1.UpdateDeploymentGroupRequest) + com.google.cloud.config.v1.UpdateDeploymentGroupRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.config.v1.UpdateDeploymentGroupRequest.class, + com.google.cloud.config.v1.UpdateDeploymentGroupRequest.Builder.class); + } + + // Construct using com.google.cloud.config.v1.UpdateDeploymentGroupRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetUpdateMaskFieldBuilder(); + internalGetDeploymentGroupFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + deploymentGroup_ = null; + if (deploymentGroupBuilder_ != null) { + deploymentGroupBuilder_.dispose(); + deploymentGroupBuilder_ = null; + } + requestId_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.config.v1.ConfigProto + .internal_static_google_cloud_config_v1_UpdateDeploymentGroupRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.config.v1.UpdateDeploymentGroupRequest getDefaultInstanceForType() { + return com.google.cloud.config.v1.UpdateDeploymentGroupRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.config.v1.UpdateDeploymentGroupRequest build() { + com.google.cloud.config.v1.UpdateDeploymentGroupRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.config.v1.UpdateDeploymentGroupRequest buildPartial() { + com.google.cloud.config.v1.UpdateDeploymentGroupRequest result = + new com.google.cloud.config.v1.UpdateDeploymentGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.config.v1.UpdateDeploymentGroupRequest result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deploymentGroup_ = + deploymentGroupBuilder_ == null ? deploymentGroup_ : deploymentGroupBuilder_.build(); + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.requestId_ = requestId_; + } + result.bitField0_ |= to_bitField0_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.config.v1.UpdateDeploymentGroupRequest) { + return mergeFrom((com.google.cloud.config.v1.UpdateDeploymentGroupRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.config.v1.UpdateDeploymentGroupRequest other) { + if (other == com.google.cloud.config.v1.UpdateDeploymentGroupRequest.getDefaultInstance()) + return this; + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + if (other.hasDeploymentGroup()) { + mergeDeploymentGroup(other.getDeploymentGroup()); + } + if (!other.getRequestId().isEmpty()) { + requestId_ = other.requestId_; + bitField0_ |= 0x00000004; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + internalGetDeploymentGroupFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + requestId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int bitField0_; + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + } else { + updateMaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && updateMask_ != null + && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + getUpdateMaskBuilder().mergeFrom(value); + } else { + updateMask_ = value; + } + } else { + updateMaskBuilder_.mergeFrom(value); + } + if (updateMask_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000001); + updateMask_ = null; + if (updateMaskBuilder_ != null) { + updateMaskBuilder_.dispose(); + updateMaskBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; + } + } + + /** + * + * + *
    +     * Optional. Field mask used to specify the fields to be overwritten in the
    +     * Deployment Group resource by the update.
    +     *
    +     * The fields specified in the update_mask are relative to the resource, not
    +     * the full request. A field will be overwritten if it is in the mask. If the
    +     * user does not provide a mask then all fields will be overwritten.
    +     * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + internalGetUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + private com.google.cloud.config.v1.DeploymentGroup deploymentGroup_; + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + deploymentGroupBuilder_; + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + public boolean hasDeploymentGroup() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + public com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup() { + if (deploymentGroupBuilder_ == null) { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } else { + return deploymentGroupBuilder_.getMessage(); + } + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeploymentGroup(com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deploymentGroup_ = value; + } else { + deploymentGroupBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setDeploymentGroup( + com.google.cloud.config.v1.DeploymentGroup.Builder builderForValue) { + if (deploymentGroupBuilder_ == null) { + deploymentGroup_ = builderForValue.build(); + } else { + deploymentGroupBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeDeploymentGroup(com.google.cloud.config.v1.DeploymentGroup value) { + if (deploymentGroupBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && deploymentGroup_ != null + && deploymentGroup_ + != com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance()) { + getDeploymentGroupBuilder().mergeFrom(value); + } else { + deploymentGroup_ = value; + } + } else { + deploymentGroupBuilder_.mergeFrom(value); + } + if (deploymentGroup_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } + return this; + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearDeploymentGroup() { + bitField0_ = (bitField0_ & ~0x00000002); + deploymentGroup_ = null; + if (deploymentGroupBuilder_ != null) { + deploymentGroupBuilder_.dispose(); + deploymentGroupBuilder_ = null; + } + onChanged(); + return this; + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.DeploymentGroup.Builder getDeploymentGroupBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return internalGetDeploymentGroupFieldBuilder().getBuilder(); + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder() { + if (deploymentGroupBuilder_ != null) { + return deploymentGroupBuilder_.getMessageOrBuilder(); + } else { + return deploymentGroup_ == null + ? com.google.cloud.config.v1.DeploymentGroup.getDefaultInstance() + : deploymentGroup_; + } + } + + /** + * + * + *
    +     * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +     * update.
    +     *
    +     * The deployment group's `name` field is used to identify the resource to be
    +     * updated. Format:
    +     * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +     * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder> + internalGetDeploymentGroupFieldBuilder() { + if (deploymentGroupBuilder_ == null) { + deploymentGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilder< + com.google.cloud.config.v1.DeploymentGroup, + com.google.cloud.config.v1.DeploymentGroup.Builder, + com.google.cloud.config.v1.DeploymentGroupOrBuilder>( + getDeploymentGroup(), getParentForChildren(), isClean()); + deploymentGroup_ = null; + } + return deploymentGroupBuilder_; + } + + private java.lang.Object requestId_ = ""; + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + public java.lang.String getRequestId() { + java.lang.Object ref = requestId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + public com.google.protobuf.ByteString getRequestIdBytes() { + java.lang.Object ref = requestId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + requestId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return This builder for chaining. + */ + public Builder clearRequestId() { + requestId_ = getDefaultInstance().getRequestId(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Optional. An optional request ID to identify requests. Specify a unique
    +     * request ID so that if you must retry your request, the server will know to
    +     * ignore the request if it has already been completed. The server will
    +     * guarantee that for at least 60 minutes since the first request.
    +     *
    +     * For example, consider a situation where you make an initial request and the
    +     * request times out. If you make the request again with the same request ID,
    +     * the server can check if original operation with the same request ID was
    +     * received, and if so, will ignore the second request. This prevents clients
    +     * from accidentally creating duplicate commitments.
    +     *
    +     * The request ID must be a valid UUID with the exception that zero UUID is
    +     * not supported (00000000-0000-0000-0000-000000000000).
    +     * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @param value The bytes for requestId to set. + * @return This builder for chaining. + */ + public Builder setRequestIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + requestId_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:google.cloud.config.v1.UpdateDeploymentGroupRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.config.v1.UpdateDeploymentGroupRequest) + private static final com.google.cloud.config.v1.UpdateDeploymentGroupRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.config.v1.UpdateDeploymentGroupRequest(); + } + + public static com.google.cloud.config.v1.UpdateDeploymentGroupRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDeploymentGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.config.v1.UpdateDeploymentGroupRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequestOrBuilder.java b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequestOrBuilder.java new file mode 100644 index 000000000000..f0d3622cce67 --- /dev/null +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/java/com/google/cloud/config/v1/UpdateDeploymentGroupRequestOrBuilder.java @@ -0,0 +1,195 @@ +/* + * Copyright 2026 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: google/cloud/config/v1/config.proto +// Protobuf Java Version: 4.33.2 + +package com.google.cloud.config.v1; + +@com.google.protobuf.Generated +public interface UpdateDeploymentGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.config.v1.UpdateDeploymentGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + + /** + * + * + *
    +   * Optional. Field mask used to specify the fields to be overwritten in the
    +   * Deployment Group resource by the update.
    +   *
    +   * The fields specified in the update_mask are relative to the resource, not
    +   * the full request. A field will be overwritten if it is in the mask. If the
    +   * user does not provide a mask then all fields will be overwritten.
    +   * 
    + * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deploymentGroup field is set. + */ + boolean hasDeploymentGroup(); + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deploymentGroup. + */ + com.google.cloud.config.v1.DeploymentGroup getDeploymentGroup(); + + /** + * + * + *
    +   * Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to
    +   * update.
    +   *
    +   * The deployment group's `name` field is used to identify the resource to be
    +   * updated. Format:
    +   * `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}`
    +   * 
    + * + * + * .google.cloud.config.v1.DeploymentGroup deployment_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.config.v1.DeploymentGroupOrBuilder getDeploymentGroupOrBuilder(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The requestId. + */ + java.lang.String getRequestId(); + + /** + * + * + *
    +   * Optional. An optional request ID to identify requests. Specify a unique
    +   * request ID so that if you must retry your request, the server will know to
    +   * ignore the request if it has already been completed. The server will
    +   * guarantee that for at least 60 minutes since the first request.
    +   *
    +   * For example, consider a situation where you make an initial request and the
    +   * request times out. If you make the request again with the same request ID,
    +   * the server can check if original operation with the same request ID was
    +   * received, and if so, will ignore the second request. This prevents clients
    +   * from accidentally creating duplicate commitments.
    +   *
    +   * The request ID must be a valid UUID with the exception that zero UUID is
    +   * not supported (00000000-0000-0000-0000-000000000000).
    +   * 
    + * + * + * string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... } + * + * + * @return The bytes for requestId. + */ + com.google.protobuf.ByteString getRequestIdBytes(); +} diff --git a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto index c45d7e95e386..d3697f6d1b07 100644 --- a/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto +++ b/java-infra-manager/proto-google-cloud-infra-manager-v1/src/main/proto/google/cloud/config/v1/config.proto @@ -345,6 +345,134 @@ service Config { metadata_type: "OperationMetadata" }; } + + // Get a DeploymentGroup for a given project and location. + rpc GetDeploymentGroup(GetDeploymentGroupRequest) returns (DeploymentGroup) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/deploymentGroups/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + // The newly created DeploymentGroup will be in the `CREATING` state + // and can be retrieved via Get and List calls. + rpc CreateDeploymentGroup(CreateDeploymentGroupRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/deploymentGroups" + body: "deployment_group" + }; + option (google.api.method_signature) = + "parent,deployment_group,deployment_group_id"; + option (google.longrunning.operation_info) = { + response_type: "DeploymentGroup" + metadata_type: "OperationMetadata" + }; + } + + // Updates a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + rpc UpdateDeploymentGroup(UpdateDeploymentGroupRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{deployment_group.name=projects/*/locations/*/deploymentGroups/*}" + body: "deployment_group" + }; + option (google.api.method_signature) = "deployment_group,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "DeploymentGroup" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] + rpc DeleteDeploymentGroup(DeleteDeploymentGroupRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/deploymentGroups/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DeploymentGroup" + metadata_type: "OperationMetadata" + }; + } + + // List DeploymentGroups for a given project and location. + rpc ListDeploymentGroups(ListDeploymentGroupsRequest) + returns (ListDeploymentGroupsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/deploymentGroups" + }; + option (google.api.method_signature) = "parent"; + } + + // Provisions a deployment group. + // + // NOTE: As a first step of this operation, Infra Manager will + // automatically delete any Deployments that were part of the + // *last successful* + // [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] + // but are *no longer* included in the *current* + // [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., + // following an `UpdateDeploymentGroup` call), along with their actuated + // resources. + rpc ProvisionDeploymentGroup(ProvisionDeploymentGroupRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deploymentGroups/*}:provision" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DeploymentGroup" + metadata_type: "OperationMetadata" + }; + } + + // Deprovisions a deployment group. + // + // NOTE: As a first step of this operation, Infra Manager will + // automatically delete any Deployments that were part of the + // *last successful* + // [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision] + // but are *no longer* included in the *current* + // [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] definition (e.g., + // following an `UpdateDeploymentGroup` call), along with their actuated + // resources. + rpc DeprovisionDeploymentGroup(DeprovisionDeploymentGroupRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deploymentGroups/*}:deprovision" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DeploymentGroup" + metadata_type: "OperationMetadata" + }; + } + + // Gets details about a + // [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]. + rpc GetDeploymentGroupRevision(GetDeploymentGroupRevisionRequest) + returns (DeploymentGroupRevision) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/deploymentGroups/*/revisions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists + // [DeploymentGroupRevision][google.cloud.config.v1.DeploymentGroupRevision]s + // in a given [DeploymentGroup][google.cloud.config.v1.DeploymentGroup]. + rpc ListDeploymentGroupRevisions(ListDeploymentGroupRevisionsRequest) + returns (ListDeploymentGroupRevisionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/deploymentGroups/*}/revisions" + }; + option (google.api.method_signature) = "parent"; + } } // Enum values to control quota checks for resources in terraform @@ -602,6 +730,11 @@ message TerraformBlueprint { // Optional. Input variable values for the Terraform blueprint. map input_values = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Map of input variable names in this blueprint to configurations + // for importing values from external sources. + map external_values = 5 + [(google.api.field_behavior) = OPTIONAL]; } // A Terraform input variable. @@ -611,6 +744,33 @@ message TerraformVariable { [(google.api.field_behavior) = OPTIONAL]; } +// Configuration for a source of an external value. +message ExternalValueSource { + // The source of the external value. + oneof source { + // A source from a Deployment. + DeploymentSource deployment_source = 1; + } +} + +// Configuration for a value sourced from a Deployment. +message DeploymentSource { + // Required. The resource name of the source Deployment to import the output + // from. Format: + // projects/{project}/locations/{location}/deployments/{deployment} The source + // deployment must be in the same project and location. + string deployment = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/Deployment" + } + ]; + + // Required. The name of the output variable in the source deployment's latest + // successfully applied revision. + string output_name = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Outputs and artifacts from applying a deployment. message ApplyResults { // Location of a blueprint copy and other manifests in Google Cloud Storage. @@ -810,6 +970,146 @@ message CreateDeploymentRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } +// A request to create a deployment group +message CreateDeploymentGroupRequest { + // Required. The parent in whose context the Deployment Group is created. The + // parent value is in the format: 'projects/{project_id}/locations/{location}' + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The deployment group ID. + string deployment_group_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. [Deployment Group][] resource to create + DeploymentGroup deployment_group = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + +// A request message for updating a deployment group +message UpdateDeploymentGroupRequest { + // Optional. Field mask used to specify the fields to be overwritten in the + // Deployment Group resource by the update. + // + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] to + // update. + // + // The deployment group's `name` field is used to identify the resource to be + // updated. Format: + // `projects/{project}/locations/{location}/deploymentGroups/{deployment_group_id}` + DeploymentGroup deployment_group = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; +} + +// Request message for Delete DeploymentGroup +message DeleteDeploymentGroupRequest { + // Policy on how to handle referenced deployments when deleting the + // DeploymentGroup. + enum DeploymentReferencePolicy { + // The default behavior. If unspecified, the system will act as if + // `FAIL_IF_ANY_REFERENCES_EXIST` is specified. + DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED = 0; + + // Fail the deletion if any deployments currently referenced in the + // `deployment_units` of the DeploymentGroup or in the latest revision + // are not deleted. + FAIL_IF_ANY_REFERENCES_EXIST = 1; + + // Fail the deletion only if any deployments currently referenced in the + // `deployment_units` of the DeploymentGroup are not deleted. + // The deletion will proceed even if the deployments in the latest revision + // of the DeploymentGroup are not deleted. + FAIL_IF_METADATA_REFERENCES_EXIST = 2; + + // Ignore any deployments currently referenced in the + // `deployment_units` of the DeploymentGroup or in the latest revision. + IGNORE_DEPLOYMENT_REFERENCES = 3; + } + + // Required. The name of DeploymentGroup in the format + // projects/{project_id}/locations/{location_id}/deploymentGroups/{deploymentGroup} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroup" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OPTIONAL + ]; + + // Optional. If set to true, any revisions for this deployment group will also + // be deleted. (Otherwise, the request will only work if the deployment group + // has no revisions.) + bool force = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Policy on how to handle referenced deployments when deleting the + // DeploymentGroup. + // If unspecified, the default behavior is to fail the deletion if any + // deployments currently referenced in the `deployment_units` of the + // DeploymentGroup or in the latest revision are not deleted. + DeploymentReferencePolicy deployment_reference_policy = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + message UpdateDeploymentRequest { // Optional. Field mask used to specify the fields to be overwritten in the // Deployment resource by the update. @@ -903,6 +1203,11 @@ message OperationMetadata { // Output only. Metadata about the preview operation state. PreviewOperationMetadata preview_metadata = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Metadata about ProvisionDeploymentGroup operation state. + ProvisionDeploymentGroupOperationMetadata + provision_deployment_group_metadata = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Output only. Time when the operation was created. @@ -2354,3 +2659,506 @@ message UpdateAutoMigrationConfigRequest { AutoMigrationConfig auto_migration_config = 2 [(google.api.field_behavior) = REQUIRED]; } + +// A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like +// structure. +message DeploymentGroup { + option (google.api.resource) = { + type: "config.googleapis.com/DeploymentGroup" + pattern: "projects/{project}/locations/{location}/deploymentGroups/{deployment_group}" + plural: "deploymentGroups" + singular: "deploymentGroup" + }; + + // Possible states of a deployment group. + enum State { + // The default value. This value is used if the state is omitted. + STATE_UNSPECIFIED = 0; + + // The deployment group is being created. + CREATING = 1; + + // The deployment group is healthy. + ACTIVE = 2; + + // The deployment group is being updated. + UPDATING = 3; + + // The deployment group is being deleted. + DELETING = 4; + + // The deployment group has encountered an unexpected error. + FAILED = 5; + + // The deployment group is no longer being actively reconciled. + // This may be the result of recovering the project after deletion. + SUSPENDED = 6; + + // The deployment group has been deleted. + DELETED = 7; + } + + // Possible provisioning states of a deployment group. + enum ProvisioningState { + // Unspecified provisioning state. + PROVISIONING_STATE_UNSPECIFIED = 0; + + // The deployment group is being provisioned. + PROVISIONING = 1; + + // The deployment group is provisioned. + PROVISIONED = 2; + + // The deployment group failed to be provisioned. + FAILED_TO_PROVISION = 3; + + // The deployment group is being deprovisioned. + DEPROVISIONING = 4; + + // The deployment group is deprovisioned. + DEPROVISIONED = 5; + + // The deployment group failed to be deprovisioned. + FAILED_TO_DEPROVISION = 6; + } + + // Identifier. The name of the deployment group. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Output only. Time when the deployment group was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the deployment group was last updated. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. User-defined metadata for the deployment group. + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Arbitrary key-value metadata storage e.g. to help client tools + // identify deployment group during automation. See + // https://google.aip.dev/148#annotations for details on format and size + // limitations. + map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Current state of the deployment group. + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information regarding the current state. + string state_description = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The deployment units of the deployment group in a DAG like structure. + // When a deployment group is being provisioned, the deployment units are + // deployed in a DAG order. + // The provided units must be in a DAG order, otherwise an error will be + // returned. + repeated DeploymentUnit deployment_units = 8; + + // Output only. The provisioning state of the deployment group. + ProvisioningState provisioning_state = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information regarding the current provisioning + // state. + string provisioning_state_description = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The error status of the deployment group provisioning or + // deprovisioning. + google.rpc.Status provisioning_error = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A DeploymentUnit is a container for a deployment and its dependencies. +// An existing deployment can be provided directly in the unit, or the unit +// can act as a placeholder to define the DAG, with the deployment specs +// supplied in a `provisionDeploymentRequest`. +message DeploymentUnit { + // The id of the deployment unit. Must be unique within the deployment group. + string id = 1; + + // Optional. The name of the deployment to be provisioned. + // Format: + // 'projects/{project_id}/locations/{location}/deployments/{deployment}'. + optional string deployment = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "config.googleapis.com/Deployment" + } + ]; + + // Required. The IDs of the deployment units within the deployment group that + // this unit depends on. + repeated string dependencies = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Spec for a deployment to be created. +message DeploymentSpec { + // Required. The id of the deployment to be created which doesn't include the + // project id and location. + string deployment_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The deployment to be created. + Deployment deployment = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// The request message for the GetDeploymentGroup method. +message GetDeploymentGroupRequest { + // Required. The name of the deployment group to retrieve. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroup" + } + ]; +} + +// The request message for the ListDeploymentGroups method. +message ListDeploymentGroupsRequest { + // Required. The parent, which owns this collection of deployment groups. + // Format: 'projects/{project_id}/locations/{location}'. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. When requesting a page of resources, 'page_size' specifies number + // of resources to return. If unspecified, at most 500 will be returned. The + // maximum value is 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Token returned by previous call to 'ListDeploymentGroups' which + // specifies the position in the list from where to continue listing the + // deployment groups. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Lists the DeploymentGroups that match the filter expression. A + // filter expression filters the deployment groups listed in the response. The + // expression must be of the form '{field} {operator} {value}' where + // operators: '<', '>', + // '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a HAS + // operator which is roughly synonymous with equality). {field} can refer to a + // proto or JSON field, or a synthetic field. Field names can be camelCase or + // snake_case. + // + // Examples: + // - Filter by name: + // name = "projects/foo/locations/us-central1/deploymentGroups/bar" + // + // - Filter by labels: + // - Resources that have a key called 'foo' + // labels.foo:* + // - Resources that have a key called 'foo' whose value is 'bar' + // labels.foo = bar + // + // - Filter by state: + // - DeploymentGroups in CREATING state. + // state=CREATING + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Field to use to sort the list. + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for the ListDeploymentGroups method. +message ListDeploymentGroupsResponse { + // The deployment groups from the specified collection. + repeated DeploymentGroup deployment_groups = 1; + + // Token to be supplied to the next ListDeploymentGroups request via + // `page_token` to obtain the next set of results. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// The request message for the ProvisionDeploymentGroup method. +message ProvisionDeploymentGroupRequest { + // Required. The name of the deployment group to provision. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroup" + } + ]; + + // Optional. The deployment specs of the deployment units to be created within + // the same project and location of the deployment group. The key is the unit + // ID, and the value is the `DeploymentSpec`. Provisioning will fail if a + // `deployment_spec` has a `deployment_id` that matches an existing deployment + // in the same project and location. If an existing deployment was part of the + // last successful revision but is no longer in the current DeploymentGroup's + // `deployment_units`, it will be recreated if included in `deployment_specs`. + map deployment_specs = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The request message for the DeprovisionDeploymentGroup method. +message DeprovisionDeploymentGroupRequest { + // Required. The name of the deployment group to deprovision. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroup" + } + ]; + + // Optional. If set to true, this option is propagated to the deletion of each + // deployment in the group. This corresponds to the 'force' field + // in DeleteDeploymentRequest. + bool force = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Policy on how resources within each deployment should be handled + // during deletion. This policy is applied globally to the deletion of all + // deployments in this group. This corresponds to the 'delete_policy' field + // in DeleteDeploymentRequest. + DeleteDeploymentRequest.DeletePolicy delete_policy = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The summary of the deployment operation. +message DeploymentOperationSummary { + // Output only. The current step the deployment operation is running. + DeploymentOperationMetadata.DeploymentStep deployment_step = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Cloud Build instance UUID associated with this operation. + string build = 2 [ + (google.api.field_info).format = UUID4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + + // Output only. Location of Deployment operations logs in + // `gs://{bucket}/{object}` format. + string logs = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Location of Deployment operations content in + // `gs://{bucket}/{object}` format. + string content = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Location of Deployment operations artifacts in + // `gs://{bucket}/{object}` format. + string artifacts = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The progress of a deployment unit provisioning or deprovisioning. +message DeploymentUnitProgress { + // The possible steps a deployment unit provisioning may be running. + enum State { + // The default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The deployment unit is queued for deployment creation or update. + QUEUED = 1; + + // The underlying deployment of the unit is being created or updated. + APPLYING_DEPLOYMENT = 2; + + // The underlying deployment operation of the unit has succeeded. + SUCCEEDED = 4; + + // The underlying deployment operation of the unit has failed. + FAILED = 5; + + // The deployment unit was aborted, likely due to failures in other + // dependent deployment units. + ABORTED = 6; + + // The deployment unit was skipped because there were no changes to apply. + SKIPPED = 7; + + // The deployment is being deleted. + DELETING_DEPLOYMENT = 8; + + // The deployment is being previewed. + PREVIEWING_DEPLOYMENT = 9; + } + + // The possible intents of a deployment unit. + enum Intent { + // Unspecified intent. + INTENT_UNSPECIFIED = 0; + + // Create deployment in the unit from the deployment spec. + CREATE_DEPLOYMENT = 1; + + // Update deployment in the unit. + UPDATE_DEPLOYMENT = 2; + + // Delete deployment in the unit. + DELETE_DEPLOYMENT = 3; + + // Recreate deployment in the unit. + RECREATE_DEPLOYMENT = 4; + + // Delete deployment in latest successful revision while no longer + // referenced in any deployment unit in the current deployment group. + CLEAN_UP = 5; + + // Expected to be unchanged. + UNCHANGED = 6; + } + + // Output only. The unit id of the deployment unit to be provisioned. + string unit_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the deployment to be provisioned. + // Format: + // 'projects/{project}/locations/{location}/deployments/{deployment}'. + string deployment = 2 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "config.googleapis.com/Deployment" + } + ]; + + // Output only. The current step of the deployment unit provisioning. + State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information regarding the current state. + string state_description = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The summary of the deployment operation. + DeploymentOperationSummary deployment_operation_summary = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Holds the error status of the deployment unit provisioning. + google.rpc.Status error = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The intent of the deployment unit. + Intent intent = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Operation metadata for `ProvisionDeploymentGroup` and +// `DeprovisionDeploymentGroup` long-running operations. +message ProvisionDeploymentGroupOperationMetadata { + // Possible steps during a deployment group provisioning or deprovisioning + // operation. + enum ProvisionDeploymentGroupStep { + // Unspecified step. + PROVISION_DEPLOYMENT_GROUP_STEP_UNSPECIFIED = 0; + + // Validating the deployment group. + VALIDATING_DEPLOYMENT_GROUP = 1; + + // Locking the deployments to the deployment group for atomic actuation. + ASSOCIATING_DEPLOYMENTS_TO_DEPLOYMENT_GROUP = 2; + + // Provisioning the deployment units. + PROVISIONING_DEPLOYMENT_UNITS = 3; + + // Unlocking the deployments from the deployment group after actuation. + DISASSOCIATING_DEPLOYMENTS_FROM_DEPLOYMENT_GROUP = 4; + + // The operation has succeeded. + SUCCEEDED = 5; + + // The operation has failed. + FAILED = 6; + + // Deprovisioning the deployment units. + DEPROVISIONING_DEPLOYMENT_UNITS = 7; + } + + // Output only. The current step of the deployment group operation. + ProvisionDeploymentGroupStep step = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Progress information for each deployment unit within the + // operation. + repeated DeploymentUnitProgress deployment_unit_progresses = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A DeploymentGroupRevision represents a snapshot of a +// [DeploymentGroup][google.cloud.config.v1.DeploymentGroup] at a given point in +// time, created when a DeploymentGroup is provisioned or deprovisioned. +message DeploymentGroupRevision { + option (google.api.resource) = { + type: "config.googleapis.com/DeploymentGroupRevision" + pattern: "projects/{project}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}" + plural: "deploymentGroupRevisions" + singular: "deploymentGroupRevision" + }; + + // Identifier. The name of the deployment group revision. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Output only. The snapshot of the deployment group at this revision. + DeploymentGroup snapshot = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when the deployment group revision was created. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The alternative IDs of the deployment group revision. + repeated string alternative_ids = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request message for the GetDeploymentGroupRevision method. +message GetDeploymentGroupRevisionRequest { + // Required. The name of the deployment group revision to retrieve. + // Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}/revisions/{revision}'. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroupRevision" + } + ]; +} + +// The request message for the ListDeploymentGroupRevisions method. +message ListDeploymentGroupRevisionsRequest { + // Required. The parent, which owns this collection of deployment group + // revisions. Format: + // 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "config.googleapis.com/DeploymentGroup" + } + ]; + + // Optional. When requesting a page of resources, 'page_size' specifies number + // of resources to return. If unspecified, a sensible default will be used by + // the server. The maximum value is 1000; values above 1000 will be coerced to + // 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Token returned by previous call to 'ListDeploymentGroupRevisions' + // which specifies the position in the list from where to continue listing the + // deployment group revisions. All other parameters provided to + // `ListDeploymentGroupRevisions` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for the ListDeploymentGroupRevisions method. +message ListDeploymentGroupRevisionsResponse { + // The deployment group revisions from the specified collection. + repeated DeploymentGroupRevision deployment_group_revisions = 1; + + // Token to be supplied to the next ListDeploymentGroupRevisions request via + // `page_token` to obtain the next set of results. + string next_page_token = 2; + + // Unordered list. Locations that could not be reached. + repeated string unreachable = 3 + [(google.api.field_behavior) = UNORDERED_LIST]; +} diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroup.java new file mode 100644 index 000000000000..bf302d1b78c9 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroup.java @@ -0,0 +1,54 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_CreateDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.CreateDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; +import com.google.longrunning.Operation; + +public class AsyncCreateDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncCreateDeploymentGroup(); + } + + public static void asyncCreateDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + CreateDeploymentGroupRequest request = + CreateDeploymentGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setDeploymentGroupId("deploymentGroupId717062517") + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = + configClient.createDeploymentGroupCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END config_v1_generated_Config_CreateDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroupLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroupLRO.java new file mode 100644 index 000000000000..690a203ce659 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/AsyncCreateDeploymentGroupLRO.java @@ -0,0 +1,54 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_CreateDeploymentGroup_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.CreateDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; +import com.google.cloud.config.v1.OperationMetadata; + +public class AsyncCreateDeploymentGroupLRO { + + public static void main(String[] args) throws Exception { + asyncCreateDeploymentGroupLRO(); + } + + public static void asyncCreateDeploymentGroupLRO() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + CreateDeploymentGroupRequest request = + CreateDeploymentGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setDeploymentGroupId("deploymentGroupId717062517") + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + configClient.createDeploymentGroupOperationCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_CreateDeploymentGroup_LRO_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroup.java new file mode 100644 index 000000000000..19466b465a6e --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroup.java @@ -0,0 +1,49 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_CreateDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.CreateDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; + +public class SyncCreateDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncCreateDeploymentGroup(); + } + + public static void syncCreateDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + CreateDeploymentGroupRequest request = + CreateDeploymentGroupRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setDeploymentGroupId("deploymentGroupId717062517") + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + DeploymentGroup response = configClient.createDeploymentGroupAsync(request).get(); + } + } +} +// [END config_v1_generated_Config_CreateDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupLocationnameDeploymentgroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupLocationnameDeploymentgroupString.java new file mode 100644 index 000000000000..e0880b16c48a --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupLocationnameDeploymentgroupString.java @@ -0,0 +1,45 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_CreateDeploymentGroup_LocationnameDeploymentgroupString_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; + +public class SyncCreateDeploymentGroupLocationnameDeploymentgroupString { + + public static void main(String[] args) throws Exception { + syncCreateDeploymentGroupLocationnameDeploymentgroupString(); + } + + public static void syncCreateDeploymentGroupLocationnameDeploymentgroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build(); + String deploymentGroupId = "deploymentGroupId717062517"; + DeploymentGroup response = + configClient.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get(); + } + } +} +// [END config_v1_generated_Config_CreateDeploymentGroup_LocationnameDeploymentgroupString_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupStringDeploymentgroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupStringDeploymentgroupString.java new file mode 100644 index 000000000000..b97e1db8977a --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/createdeploymentgroup/SyncCreateDeploymentGroupStringDeploymentgroupString.java @@ -0,0 +1,45 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_CreateDeploymentGroup_StringDeploymentgroupString_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; + +public class SyncCreateDeploymentGroupStringDeploymentgroupString { + + public static void main(String[] args) throws Exception { + syncCreateDeploymentGroupStringDeploymentgroupString(); + } + + public static void syncCreateDeploymentGroupStringDeploymentgroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build(); + String deploymentGroupId = "deploymentGroupId717062517"; + DeploymentGroup response = + configClient.createDeploymentGroupAsync(parent, deploymentGroup, deploymentGroupId).get(); + } + } +} +// [END config_v1_generated_Config_CreateDeploymentGroup_StringDeploymentgroupString_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroup.java new file mode 100644 index 000000000000..530f7010be1b --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroup.java @@ -0,0 +1,54 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeleteDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.longrunning.Operation; + +public class AsyncDeleteDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncDeleteDeploymentGroup(); + } + + public static void asyncDeleteDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeleteDeploymentGroupRequest request = + DeleteDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setRequestId("requestId693933066") + .setForce(true) + .build(); + ApiFuture future = + configClient.deleteDeploymentGroupCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END config_v1_generated_Config_DeleteDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroupLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroupLRO.java new file mode 100644 index 000000000000..51e05cc03bd3 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/AsyncDeleteDeploymentGroupLRO.java @@ -0,0 +1,55 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeleteDeploymentGroup_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.OperationMetadata; + +public class AsyncDeleteDeploymentGroupLRO { + + public static void main(String[] args) throws Exception { + asyncDeleteDeploymentGroupLRO(); + } + + public static void asyncDeleteDeploymentGroupLRO() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeleteDeploymentGroupRequest request = + DeleteDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setRequestId("requestId693933066") + .setForce(true) + .build(); + OperationFuture future = + configClient.deleteDeploymentGroupOperationCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_DeleteDeploymentGroup_LRO_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroup.java new file mode 100644 index 000000000000..96698a265465 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroup.java @@ -0,0 +1,50 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeleteDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeleteDeploymentGroupRequest; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncDeleteDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncDeleteDeploymentGroup(); + } + + public static void syncDeleteDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeleteDeploymentGroupRequest request = + DeleteDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setRequestId("requestId693933066") + .setForce(true) + .build(); + DeploymentGroup response = configClient.deleteDeploymentGroupAsync(request).get(); + } + } +} +// [END config_v1_generated_Config_DeleteDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupDeploymentgroupname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupDeploymentgroupname.java new file mode 100644 index 000000000000..4da9789bf914 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupDeploymentgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeleteDeploymentGroup_Deploymentgroupname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncDeleteDeploymentGroupDeploymentgroupname { + + public static void main(String[] args) throws Exception { + syncDeleteDeploymentGroupDeploymentgroupname(); + } + + public static void syncDeleteDeploymentGroupDeploymentgroupname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupName name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + DeploymentGroup response = configClient.deleteDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_DeleteDeploymentGroup_Deploymentgroupname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupString.java new file mode 100644 index 000000000000..bf95dc66105a --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deletedeploymentgroup/SyncDeleteDeploymentGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeleteDeploymentGroup_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncDeleteDeploymentGroupString { + + public static void main(String[] args) throws Exception { + syncDeleteDeploymentGroupString(); + } + + public static void syncDeleteDeploymentGroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + DeploymentGroup response = configClient.deleteDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_DeleteDeploymentGroup_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroup.java new file mode 100644 index 000000000000..067773bd0f22 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroup.java @@ -0,0 +1,53 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeprovisionDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest; +import com.google.longrunning.Operation; + +public class AsyncDeprovisionDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncDeprovisionDeploymentGroup(); + } + + public static void asyncDeprovisionDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeprovisionDeploymentGroupRequest request = + DeprovisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setForce(true) + .build(); + ApiFuture future = + configClient.deprovisionDeploymentGroupCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END config_v1_generated_Config_DeprovisionDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroupLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroupLRO.java new file mode 100644 index 000000000000..4f73c0e34803 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/AsyncDeprovisionDeploymentGroupLRO.java @@ -0,0 +1,54 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeprovisionDeploymentGroup_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest; +import com.google.cloud.config.v1.OperationMetadata; + +public class AsyncDeprovisionDeploymentGroupLRO { + + public static void main(String[] args) throws Exception { + asyncDeprovisionDeploymentGroupLRO(); + } + + public static void asyncDeprovisionDeploymentGroupLRO() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeprovisionDeploymentGroupRequest request = + DeprovisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setForce(true) + .build(); + OperationFuture future = + configClient.deprovisionDeploymentGroupOperationCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_DeprovisionDeploymentGroup_LRO_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroup.java new file mode 100644 index 000000000000..f9c402f06232 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroup.java @@ -0,0 +1,49 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeprovisionDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeprovisionDeploymentGroupRequest; + +public class SyncDeprovisionDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncDeprovisionDeploymentGroup(); + } + + public static void syncDeprovisionDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeprovisionDeploymentGroupRequest request = + DeprovisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setForce(true) + .build(); + DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(request).get(); + } + } +} +// [END config_v1_generated_Config_DeprovisionDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupDeploymentgroupname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupDeploymentgroupname.java new file mode 100644 index 000000000000..2836c433a0ae --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupDeploymentgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeprovisionDeploymentGroup_Deploymentgroupname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncDeprovisionDeploymentGroupDeploymentgroupname { + + public static void main(String[] args) throws Exception { + syncDeprovisionDeploymentGroupDeploymentgroupname(); + } + + public static void syncDeprovisionDeploymentGroupDeploymentgroupname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupName name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_DeprovisionDeploymentGroup_Deploymentgroupname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupString.java new file mode 100644 index 000000000000..cfbfd6076e24 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/deprovisiondeploymentgroup/SyncDeprovisionDeploymentGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_DeprovisionDeploymentGroup_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncDeprovisionDeploymentGroupString { + + public static void main(String[] args) throws Exception { + syncDeprovisionDeploymentGroupString(); + } + + public static void syncDeprovisionDeploymentGroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + DeploymentGroup response = configClient.deprovisionDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_DeprovisionDeploymentGroup_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/AsyncGetDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/AsyncGetDeploymentGroup.java new file mode 100644 index 000000000000..88f275677762 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/AsyncGetDeploymentGroup.java @@ -0,0 +1,52 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.GetDeploymentGroupRequest; + +public class AsyncGetDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncGetDeploymentGroup(); + } + + public static void asyncGetDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + GetDeploymentGroupRequest request = + GetDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .build(); + ApiFuture future = + configClient.getDeploymentGroupCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroup.java new file mode 100644 index 000000000000..c818f35cfa96 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroup.java @@ -0,0 +1,48 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.GetDeploymentGroupRequest; + +public class SyncGetDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroup(); + } + + public static void syncGetDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + GetDeploymentGroupRequest request = + GetDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .build(); + DeploymentGroup response = configClient.getDeploymentGroup(request); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupDeploymentgroupname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupDeploymentgroupname.java new file mode 100644 index 000000000000..8f97477df881 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupDeploymentgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroup_Deploymentgroupname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncGetDeploymentGroupDeploymentgroupname { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroupDeploymentgroupname(); + } + + public static void syncGetDeploymentGroupDeploymentgroupname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupName name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + DeploymentGroup response = configClient.getDeploymentGroup(name); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroup_Deploymentgroupname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupString.java new file mode 100644 index 000000000000..da0db1aab77d --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgroup/SyncGetDeploymentGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroup_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncGetDeploymentGroupString { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroupString(); + } + + public static void syncGetDeploymentGroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + DeploymentGroup response = configClient.getDeploymentGroup(name); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroup_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/AsyncGetDeploymentGroupRevision.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/AsyncGetDeploymentGroupRevision.java new file mode 100644 index 000000000000..5673f16a86cc --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/AsyncGetDeploymentGroupRevision.java @@ -0,0 +1,53 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroupRevision_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.DeploymentGroupRevisionName; +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest; + +public class AsyncGetDeploymentGroupRevision { + + public static void main(String[] args) throws Exception { + asyncGetDeploymentGroupRevision(); + } + + public static void asyncGetDeploymentGroupRevision() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + GetDeploymentGroupRevisionRequest request = + GetDeploymentGroupRevisionRequest.newBuilder() + .setName( + DeploymentGroupRevisionName.of( + "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]") + .toString()) + .build(); + ApiFuture future = + configClient.getDeploymentGroupRevisionCallable().futureCall(request); + // Do something. + DeploymentGroupRevision response = future.get(); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroupRevision_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevision.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevision.java new file mode 100644 index 000000000000..02e2992bb540 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevision.java @@ -0,0 +1,49 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroupRevision_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.DeploymentGroupRevisionName; +import com.google.cloud.config.v1.GetDeploymentGroupRevisionRequest; + +public class SyncGetDeploymentGroupRevision { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroupRevision(); + } + + public static void syncGetDeploymentGroupRevision() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + GetDeploymentGroupRevisionRequest request = + GetDeploymentGroupRevisionRequest.newBuilder() + .setName( + DeploymentGroupRevisionName.of( + "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]") + .toString()) + .build(); + DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(request); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroupRevision_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionDeploymentgrouprevisionname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionDeploymentgrouprevisionname.java new file mode 100644 index 000000000000..3b3c266ff0d1 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionDeploymentgrouprevisionname.java @@ -0,0 +1,44 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroupRevision_Deploymentgrouprevisionname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.DeploymentGroupRevisionName; + +public class SyncGetDeploymentGroupRevisionDeploymentgrouprevisionname { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroupRevisionDeploymentgrouprevisionname(); + } + + public static void syncGetDeploymentGroupRevisionDeploymentgrouprevisionname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupRevisionName name = + DeploymentGroupRevisionName.of( + "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]"); + DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(name); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroupRevision_Deploymentgrouprevisionname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionString.java new file mode 100644 index 000000000000..4cf1aa75c9bb --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/getdeploymentgrouprevision/SyncGetDeploymentGroupRevisionString.java @@ -0,0 +1,45 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_GetDeploymentGroupRevision_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.DeploymentGroupRevisionName; + +public class SyncGetDeploymentGroupRevisionString { + + public static void main(String[] args) throws Exception { + syncGetDeploymentGroupRevisionString(); + } + + public static void syncGetDeploymentGroupRevisionString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String name = + DeploymentGroupRevisionName.of( + "[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]", "[REVISION]") + .toString(); + DeploymentGroupRevision response = configClient.getDeploymentGroupRevision(name); + } + } +} +// [END config_v1_generated_Config_GetDeploymentGroupRevision_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisions.java new file mode 100644 index 000000000000..039b46f52516 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisions.java @@ -0,0 +1,56 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroupRevisions_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest; + +public class AsyncListDeploymentGroupRevisions { + + public static void main(String[] args) throws Exception { + asyncListDeploymentGroupRevisions(); + } + + public static void asyncListDeploymentGroupRevisions() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupRevisionsRequest request = + ListDeploymentGroupRevisionsRequest.newBuilder() + .setParent( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + configClient.listDeploymentGroupRevisionsPagedCallable().futureCall(request); + // Do something. + for (DeploymentGroupRevision element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroupRevisions_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisionsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisionsPaged.java new file mode 100644 index 000000000000..df48679964c8 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/AsyncListDeploymentGroupRevisionsPaged.java @@ -0,0 +1,64 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroupRevisions_Paged_async] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest; +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsResponse; +import com.google.common.base.Strings; + +public class AsyncListDeploymentGroupRevisionsPaged { + + public static void main(String[] args) throws Exception { + asyncListDeploymentGroupRevisionsPaged(); + } + + public static void asyncListDeploymentGroupRevisionsPaged() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupRevisionsRequest request = + ListDeploymentGroupRevisionsRequest.newBuilder() + .setParent( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListDeploymentGroupRevisionsResponse response = + configClient.listDeploymentGroupRevisionsCallable().call(request); + for (DeploymentGroupRevision element : response.getDeploymentGroupRevisionsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroupRevisions_Paged_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisions.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisions.java new file mode 100644 index 000000000000..8d284807e516 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisions.java @@ -0,0 +1,53 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroupRevisions_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentGroupRevision; +import com.google.cloud.config.v1.ListDeploymentGroupRevisionsRequest; + +public class SyncListDeploymentGroupRevisions { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroupRevisions(); + } + + public static void syncListDeploymentGroupRevisions() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupRevisionsRequest request = + ListDeploymentGroupRevisionsRequest.newBuilder() + .setParent( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (DeploymentGroupRevision element : + configClient.listDeploymentGroupRevisions(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroupRevisions_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsDeploymentgroupname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsDeploymentgroupname.java new file mode 100644 index 000000000000..1d2f9145e21f --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsDeploymentgroupname.java @@ -0,0 +1,46 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroupRevisions_Deploymentgroupname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentGroupRevision; + +public class SyncListDeploymentGroupRevisionsDeploymentgroupname { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroupRevisionsDeploymentgroupname(); + } + + public static void syncListDeploymentGroupRevisionsDeploymentgroupname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupName parent = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + for (DeploymentGroupRevision element : + configClient.listDeploymentGroupRevisions(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroupRevisions_Deploymentgroupname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsString.java new file mode 100644 index 000000000000..57695e327159 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgrouprevisions/SyncListDeploymentGroupRevisionsString.java @@ -0,0 +1,46 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroupRevisions_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentGroupRevision; + +public class SyncListDeploymentGroupRevisionsString { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroupRevisionsString(); + } + + public static void syncListDeploymentGroupRevisionsString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String parent = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + for (DeploymentGroupRevision element : + configClient.listDeploymentGroupRevisions(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroupRevisions_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroups.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroups.java new file mode 100644 index 000000000000..e33089368174 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroups.java @@ -0,0 +1,56 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroups_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.ListDeploymentGroupsRequest; +import com.google.cloud.config.v1.LocationName; + +public class AsyncListDeploymentGroups { + + public static void main(String[] args) throws Exception { + asyncListDeploymentGroups(); + } + + public static void asyncListDeploymentGroups() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupsRequest request = + ListDeploymentGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") + .build(); + ApiFuture future = + configClient.listDeploymentGroupsPagedCallable().futureCall(request); + // Do something. + for (DeploymentGroup element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroups_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroupsPaged.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroupsPaged.java new file mode 100644 index 000000000000..4d0e2d36666f --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/AsyncListDeploymentGroupsPaged.java @@ -0,0 +1,64 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroups_Paged_async] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.ListDeploymentGroupsRequest; +import com.google.cloud.config.v1.ListDeploymentGroupsResponse; +import com.google.cloud.config.v1.LocationName; +import com.google.common.base.Strings; + +public class AsyncListDeploymentGroupsPaged { + + public static void main(String[] args) throws Exception { + asyncListDeploymentGroupsPaged(); + } + + public static void asyncListDeploymentGroupsPaged() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupsRequest request = + ListDeploymentGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") + .build(); + while (true) { + ListDeploymentGroupsResponse response = + configClient.listDeploymentGroupsCallable().call(request); + for (DeploymentGroup element : response.getDeploymentGroupsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroups_Paged_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroups.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroups.java new file mode 100644 index 000000000000..87eac1e79870 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroups.java @@ -0,0 +1,52 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroups_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.ListDeploymentGroupsRequest; +import com.google.cloud.config.v1.LocationName; + +public class SyncListDeploymentGroups { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroups(); + } + + public static void syncListDeploymentGroups() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ListDeploymentGroupsRequest request = + ListDeploymentGroupsRequest.newBuilder() + .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") + .build(); + for (DeploymentGroup element : configClient.listDeploymentGroups(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroups_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsLocationname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsLocationname.java new file mode 100644 index 000000000000..5abf883b3b9a --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsLocationname.java @@ -0,0 +1,44 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroups_Locationname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; + +public class SyncListDeploymentGroupsLocationname { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroupsLocationname(); + } + + public static void syncListDeploymentGroupsLocationname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + for (DeploymentGroup element : configClient.listDeploymentGroups(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroups_Locationname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsString.java new file mode 100644 index 000000000000..5a67d46f042d --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/listdeploymentgroups/SyncListDeploymentGroupsString.java @@ -0,0 +1,44 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ListDeploymentGroups_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.LocationName; + +public class SyncListDeploymentGroupsString { + + public static void main(String[] args) throws Exception { + syncListDeploymentGroupsString(); + } + + public static void syncListDeploymentGroupsString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString(); + for (DeploymentGroup element : configClient.listDeploymentGroups(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END config_v1_generated_Config_ListDeploymentGroups_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroup.java new file mode 100644 index 000000000000..096188fc5190 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroup.java @@ -0,0 +1,55 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ProvisionDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentSpec; +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest; +import com.google.longrunning.Operation; +import java.util.HashMap; + +public class AsyncProvisionDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncProvisionDeploymentGroup(); + } + + public static void asyncProvisionDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ProvisionDeploymentGroupRequest request = + ProvisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .putAllDeploymentSpecs(new HashMap()) + .build(); + ApiFuture future = + configClient.provisionDeploymentGroupCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END config_v1_generated_Config_ProvisionDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroupLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroupLRO.java new file mode 100644 index 000000000000..ececcb3c29b2 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/AsyncProvisionDeploymentGroupLRO.java @@ -0,0 +1,56 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ProvisionDeploymentGroup_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentSpec; +import com.google.cloud.config.v1.OperationMetadata; +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest; +import java.util.HashMap; + +public class AsyncProvisionDeploymentGroupLRO { + + public static void main(String[] args) throws Exception { + asyncProvisionDeploymentGroupLRO(); + } + + public static void asyncProvisionDeploymentGroupLRO() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ProvisionDeploymentGroupRequest request = + ProvisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .putAllDeploymentSpecs(new HashMap()) + .build(); + OperationFuture future = + configClient.provisionDeploymentGroupOperationCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_ProvisionDeploymentGroup_LRO_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroup.java new file mode 100644 index 000000000000..c5afdf4baa65 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroup.java @@ -0,0 +1,51 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ProvisionDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; +import com.google.cloud.config.v1.DeploymentSpec; +import com.google.cloud.config.v1.ProvisionDeploymentGroupRequest; +import java.util.HashMap; + +public class SyncProvisionDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncProvisionDeploymentGroup(); + } + + public static void syncProvisionDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + ProvisionDeploymentGroupRequest request = + ProvisionDeploymentGroupRequest.newBuilder() + .setName( + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]") + .toString()) + .putAllDeploymentSpecs(new HashMap()) + .build(); + DeploymentGroup response = configClient.provisionDeploymentGroupAsync(request).get(); + } + } +} +// [END config_v1_generated_Config_ProvisionDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupDeploymentgroupname.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupDeploymentgroupname.java new file mode 100644 index 000000000000..002249732e51 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupDeploymentgroupname.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ProvisionDeploymentGroup_Deploymentgroupname_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncProvisionDeploymentGroupDeploymentgroupname { + + public static void main(String[] args) throws Exception { + syncProvisionDeploymentGroupDeploymentgroupname(); + } + + public static void syncProvisionDeploymentGroupDeploymentgroupname() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroupName name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]"); + DeploymentGroup response = configClient.provisionDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_ProvisionDeploymentGroup_Deploymentgroupname_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupString.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupString.java new file mode 100644 index 000000000000..e88581fd07d5 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/provisiondeploymentgroup/SyncProvisionDeploymentGroupString.java @@ -0,0 +1,43 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_ProvisionDeploymentGroup_String_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.DeploymentGroupName; + +public class SyncProvisionDeploymentGroupString { + + public static void main(String[] args) throws Exception { + syncProvisionDeploymentGroupString(); + } + + public static void syncProvisionDeploymentGroupString() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + String name = + DeploymentGroupName.of("[PROJECT]", "[LOCATION]", "[DEPLOYMENT_GROUP]").toString(); + DeploymentGroup response = configClient.provisionDeploymentGroupAsync(name).get(); + } + } +} +// [END config_v1_generated_Config_ProvisionDeploymentGroup_String_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroup.java new file mode 100644 index 000000000000..dc2b39f29c1d --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroup.java @@ -0,0 +1,53 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_UpdateDeploymentGroup_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest; +import com.google.longrunning.Operation; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateDeploymentGroup { + + public static void main(String[] args) throws Exception { + asyncUpdateDeploymentGroup(); + } + + public static void asyncUpdateDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + UpdateDeploymentGroupRequest request = + UpdateDeploymentGroupRequest.newBuilder() + .setUpdateMask(FieldMask.newBuilder().build()) + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + ApiFuture future = + configClient.updateDeploymentGroupCallable().futureCall(request); + // Do something. + Operation response = future.get(); + } + } +} +// [END config_v1_generated_Config_UpdateDeploymentGroup_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroupLRO.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroupLRO.java new file mode 100644 index 000000000000..887a62866325 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/AsyncUpdateDeploymentGroupLRO.java @@ -0,0 +1,53 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_UpdateDeploymentGroup_LRO_async] +import com.google.api.gax.longrunning.OperationFuture; +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.OperationMetadata; +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest; +import com.google.protobuf.FieldMask; + +public class AsyncUpdateDeploymentGroupLRO { + + public static void main(String[] args) throws Exception { + asyncUpdateDeploymentGroupLRO(); + } + + public static void asyncUpdateDeploymentGroupLRO() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + UpdateDeploymentGroupRequest request = + UpdateDeploymentGroupRequest.newBuilder() + .setUpdateMask(FieldMask.newBuilder().build()) + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + OperationFuture future = + configClient.updateDeploymentGroupOperationCallable().futureCall(request); + // Do something. + DeploymentGroup response = future.get(); + } + } +} +// [END config_v1_generated_Config_UpdateDeploymentGroup_LRO_async] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroup.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroup.java new file mode 100644 index 000000000000..16969d300b33 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroup.java @@ -0,0 +1,48 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_UpdateDeploymentGroup_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.cloud.config.v1.UpdateDeploymentGroupRequest; +import com.google.protobuf.FieldMask; + +public class SyncUpdateDeploymentGroup { + + public static void main(String[] args) throws Exception { + syncUpdateDeploymentGroup(); + } + + public static void syncUpdateDeploymentGroup() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + UpdateDeploymentGroupRequest request = + UpdateDeploymentGroupRequest.newBuilder() + .setUpdateMask(FieldMask.newBuilder().build()) + .setDeploymentGroup(DeploymentGroup.newBuilder().build()) + .setRequestId("requestId693933066") + .build(); + DeploymentGroup response = configClient.updateDeploymentGroupAsync(request).get(); + } + } +} +// [END config_v1_generated_Config_UpdateDeploymentGroup_sync] diff --git a/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroupDeploymentgroupFieldmask.java b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroupDeploymentgroupFieldmask.java new file mode 100644 index 000000000000..056fbeb53e25 --- /dev/null +++ b/java-infra-manager/samples/snippets/generated/com/google/cloud/config/v1/config/updatedeploymentgroup/SyncUpdateDeploymentGroupDeploymentgroupFieldmask.java @@ -0,0 +1,44 @@ +/* + * 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.config.v1.samples; + +// [START config_v1_generated_Config_UpdateDeploymentGroup_DeploymentgroupFieldmask_sync] +import com.google.cloud.config.v1.ConfigClient; +import com.google.cloud.config.v1.DeploymentGroup; +import com.google.protobuf.FieldMask; + +public class SyncUpdateDeploymentGroupDeploymentgroupFieldmask { + + public static void main(String[] args) throws Exception { + syncUpdateDeploymentGroupDeploymentgroupFieldmask(); + } + + public static void syncUpdateDeploymentGroupDeploymentgroupFieldmask() throws Exception { + // 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 (ConfigClient configClient = ConfigClient.create()) { + DeploymentGroup deploymentGroup = DeploymentGroup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + DeploymentGroup response = + configClient.updateDeploymentGroupAsync(deploymentGroup, updateMask).get(); + } + } +} +// [END config_v1_generated_Config_UpdateDeploymentGroup_DeploymentgroupFieldmask_sync] diff --git a/java-iot/.OwlBot-hermetic.yaml b/java-iot/.OwlBot-hermetic.yaml index f156847e861f..5b4dbe0c9574 100644 --- a/java-iot/.OwlBot-hermetic.yaml +++ b/java-iot/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-iot/google-.*/src" deep-preserve-regex: +- "/java-iot/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-iot/google-cloud-iot/src/test/java/com/google/cloud/iot/v1/it/ITSystemTest.java" deep-copy-regex: diff --git a/java-iot/README.md b/java-iot/README.md index 59ac689c7647..85a0a8ace24f 100644 --- a/java-iot/README.md +++ b/java-iot/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-iot - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-iot:2.88.0' +implementation 'com.google.cloud:google-cloud-iot:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-iot" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-iot/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-iot.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-iot/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-iot/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/Version.java b/java-iot/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/Version.java index 158749228365..64c71b0f0501 100644 --- a/java-iot/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/Version.java +++ b/java-iot/google-cloud-iot/src/main/java/com/google/cloud/iot/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-iot:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-java-shopping-merchant-issue-resolution/.OwlBot-hermetic.yaml b/java-java-shopping-merchant-issue-resolution/.OwlBot-hermetic.yaml index 91f8b62ebf5f..284067deff53 100644 --- a/java-java-shopping-merchant-issue-resolution/.OwlBot-hermetic.yaml +++ b/java-java-shopping-merchant-issue-resolution/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-java-shopping-merchant-issue-resolution/samples/snippets/generated" deep-preserve-regex: +- "/java-java-shopping-merchant-issue-resolution/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-java-shopping-merchant-issue-resolution/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-java-shopping-merchant-issue-resolution/README.md b/java-java-shopping-merchant-issue-resolution/README.md index d0b442d97747..94c2e2382b71 100644 --- a/java-java-shopping-merchant-issue-resolution/README.md +++ b/java-java-shopping-merchant-issue-resolution/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-issue-resolution - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-issue-resolution:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-issue-resolution" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-issue-resolution.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-issue-resolution/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1/stub/Version.java b/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1/stub/Version.java index d47e8e085215..611169b3f26b 100644 --- a/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1/stub/Version.java +++ b/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-issue-resolution:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1beta/stub/Version.java b/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1beta/stub/Version.java index 98f795b5eb53..bbd5406ee8c6 100644 --- a/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1beta/stub/Version.java +++ b/java-java-shopping-merchant-issue-resolution/google-shopping-merchant-issue-resolution/src/main/java/com/google/shopping/merchant/issueresolution/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-issue-resolution:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-java-shopping-merchant-order-tracking/.OwlBot-hermetic.yaml b/java-java-shopping-merchant-order-tracking/.OwlBot-hermetic.yaml index 1bbf170a9355..9713fd228482 100644 --- a/java-java-shopping-merchant-order-tracking/.OwlBot-hermetic.yaml +++ b/java-java-shopping-merchant-order-tracking/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-java-shopping-merchant-order-tracking/samples/snippets/generated" deep-preserve-regex: +- "/java-java-shopping-merchant-order-tracking/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-java-shopping-merchant-order-tracking/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-java-shopping-merchant-order-tracking/README.md b/java-java-shopping-merchant-order-tracking/README.md index 4b778bc1b5ee..b18b00bc9a00 100644 --- a/java-java-shopping-merchant-order-tracking/README.md +++ b/java-java-shopping-merchant-order-tracking/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-order-tracking - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-order-tracking:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-order-tracking" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-order-tracking/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-order-tracking.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-order-tracking/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1/stub/Version.java b/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1/stub/Version.java index 0263898cd43e..cd67ed7b9fea 100644 --- a/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1/stub/Version.java +++ b/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-order-tracking:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1beta/stub/Version.java b/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1beta/stub/Version.java index f3609666bffb..de8b56899990 100644 --- a/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1beta/stub/Version.java +++ b/java-java-shopping-merchant-order-tracking/google-shopping-merchant-order-tracking/src/main/java/com/google/shopping/merchant/ordertracking/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-order-tracking:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-kms/.OwlBot-hermetic.yaml b/java-kms/.OwlBot-hermetic.yaml index 7ea6f453adfe..6c9cf770e23f 100644 --- a/java-kms/.OwlBot-hermetic.yaml +++ b/java-kms/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-kms/google-.*/src" deep-preserve-regex: +- "/java-kms/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-kms/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UntypedKeyName.java" - "/java-kms/proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyName.java" diff --git a/java-kms/README.md b/java-kms/README.md index 800647a9c8ea..ca7c85489ca9 100644 --- a/java-kms/README.md +++ b/java-kms/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 2.91.0 + 2.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.91.0' +implementation 'com.google.cloud:google-cloud-kms:2.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.92.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kms.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kms/2.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/Version.java b/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/Version.java index 8a8016a866da..20942f3dea37 100644 --- a/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/Version.java +++ b/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-kms:current} - static final String VERSION = "2.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-kmsinventory/.OwlBot-hermetic.yaml b/java-kmsinventory/.OwlBot-hermetic.yaml index d225e80565d2..a702794bca62 100644 --- a/java-kmsinventory/.OwlBot-hermetic.yaml +++ b/java-kmsinventory/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-kmsinventory/samples/snippets/generated" deep-preserve-regex: +- "/java-kmsinventory/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-kmsinventory/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-kmsinventory/README.md b/java-kmsinventory/README.md index fa91f765863d..c118d4a56680 100644 --- a/java-kmsinventory/README.md +++ b/java-kmsinventory/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-kmsinventory - 0.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-kmsinventory:0.77.0' +implementation 'com.google.cloud:google-cloud-kmsinventory:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.77.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kmsinventory" % "0.78.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-kmsinventory/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-kmsinventory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-kmsinventory/0.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-kmsinventory/google-cloud-kmsinventory/src/main/java/com/google/cloud/kms/inventory/v1/stub/Version.java b/java-kmsinventory/google-cloud-kmsinventory/src/main/java/com/google/cloud/kms/inventory/v1/stub/Version.java index 04403b3c23c4..206462ac1ac2 100644 --- a/java-kmsinventory/google-cloud-kmsinventory/src/main/java/com/google/cloud/kms/inventory/v1/stub/Version.java +++ b/java-kmsinventory/google-cloud-kmsinventory/src/main/java/com/google/cloud/kms/inventory/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-kmsinventory:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-language/README.md b/java-language/README.md index 284c9ca83ffc..8ef66364fa2f 100644 --- a/java-language/README.md +++ b/java-language/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-language - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-language:2.89.0' +implementation 'com.google.cloud:google-cloud-language:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-language" % "2.90.0" ``` ## Authentication @@ -207,7 +207,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-language/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-language.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-language/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/Version.java b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/Version.java index c68216b9e526..e171ab93ce20 100644 --- a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/Version.java +++ b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-language:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/Version.java b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/Version.java index ad80314debd4..4cd2011ba352 100644 --- a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/Version.java +++ b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-language:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v2/stub/Version.java b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v2/stub/Version.java index 442990822011..79329299aa1b 100644 --- a/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v2/stub/Version.java +++ b/java-language/google-cloud-language/src/main/java/com/google/cloud/language/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-language:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-licensemanager/.OwlBot-hermetic.yaml b/java-licensemanager/.OwlBot-hermetic.yaml index 08c791e8342c..2184a083eab4 100644 --- a/java-licensemanager/.OwlBot-hermetic.yaml +++ b/java-licensemanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-licensemanager/samples/snippets/generated" deep-preserve-regex: +- "/java-licensemanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-licensemanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-licensemanager/README.md b/java-licensemanager/README.md index 0f035bab6d4d..0c49c31296c6 100644 --- a/java-licensemanager/README.md +++ b/java-licensemanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-licensemanager - 0.21.0 + 0.22.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-licensemanager:0.21.0' +implementation 'com.google.cloud:google-cloud-licensemanager:0.22.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.21.0" +libraryDependencies += "com.google.cloud" % "google-cloud-licensemanager" % "0.22.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-licensemanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-licensemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-licensemanager/0.22.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-licensemanager/google-cloud-licensemanager/src/main/java/com/google/cloud/licensemanager/v1/stub/Version.java b/java-licensemanager/google-cloud-licensemanager/src/main/java/com/google/cloud/licensemanager/v1/stub/Version.java index ce0bc88f2420..0a07c0b4cb9e 100644 --- a/java-licensemanager/google-cloud-licensemanager/src/main/java/com/google/cloud/licensemanager/v1/stub/Version.java +++ b/java-licensemanager/google-cloud-licensemanager/src/main/java/com/google/cloud/licensemanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-licensemanager:current} - static final String VERSION = "0.22.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-life-sciences/README.md b/java-life-sciences/README.md index 43ad2b94c453..b53daa05a36c 100644 --- a/java-life-sciences/README.md +++ b/java-life-sciences/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-life-sciences - 0.90.0 + 0.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-life-sciences:0.90.0' +implementation 'com.google.cloud:google-cloud-life-sciences:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-life-sciences" % "0.91.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-life-sciences/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-life-sciences.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-life-sciences/0.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/Version.java b/java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/Version.java index 0223ba1d4591..8c4b248f2c8d 100644 --- a/java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/Version.java +++ b/java-life-sciences/google-cloud-life-sciences/src/main/java/com/google/cloud/lifesciences/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-life-sciences:current} - static final String VERSION = "0.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-locationfinder/.OwlBot-hermetic.yaml b/java-locationfinder/.OwlBot-hermetic.yaml index 71625d7391f2..4a13122394e7 100644 --- a/java-locationfinder/.OwlBot-hermetic.yaml +++ b/java-locationfinder/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-locationfinder/samples/snippets/generated" deep-preserve-regex: +- "/java-locationfinder/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-locationfinder/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-locationfinder/README.md b/java-locationfinder/README.md index 5ac633a3e9af..1baf77d60986 100644 --- a/java-locationfinder/README.md +++ b/java-locationfinder/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-locationfinder - 0.13.0 + 0.14.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-locationfinder:0.13.0' +implementation 'com.google.cloud:google-cloud-locationfinder:0.14.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.13.0" +libraryDependencies += "com.google.cloud" % "google-cloud-locationfinder" % "0.14.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-locationfinder/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-locationfinder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.13.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-locationfinder/0.14.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-locationfinder/google-cloud-locationfinder/src/main/java/com/google/cloud/locationfinder/v1/stub/Version.java b/java-locationfinder/google-cloud-locationfinder/src/main/java/com/google/cloud/locationfinder/v1/stub/Version.java index 734a930f2430..6a4b27f88157 100644 --- a/java-locationfinder/google-cloud-locationfinder/src/main/java/com/google/cloud/locationfinder/v1/stub/Version.java +++ b/java-locationfinder/google-cloud-locationfinder/src/main/java/com/google/cloud/locationfinder/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-locationfinder:current} - static final String VERSION = "0.14.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-logging/.OwlBot-hermetic.yaml b/java-logging/.OwlBot-hermetic.yaml index 146fffa7eccd..584d3e8c704b 100644 --- a/java-logging/.OwlBot-hermetic.yaml +++ b/java-logging/.OwlBot-hermetic.yaml @@ -17,6 +17,7 @@ deep-remove-regex: - /java-logging/proto-google-.*/src - /java-logging/google-.*/src/v.* deep-preserve-regex: +- /java-logging/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java - /java-logging/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java deep-copy-regex: - source: /google/logging/(v.*)/.*-java/proto-google-.*/src diff --git a/java-logging/README.md b/java-logging/README.md index 7faa1a42374f..696d4d75316b 100644 --- a/java-logging/README.md +++ b/java-logging/README.md @@ -58,13 +58,13 @@ implementation 'com.google.cloud:google-cloud-logging' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging:3.29.0' +implementation 'com.google.cloud:google-cloud-logging:3.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-logging" % "3.30.0" ``` ## Authentication @@ -444,7 +444,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-logging/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-logging.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/Version.java b/java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/Version.java index 6cba22dd8f1c..0bbbe2f8e055 100644 --- a/java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/Version.java +++ b/java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-logging:current} - static final String VERSION = "3.30.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-lustre/.OwlBot-hermetic.yaml b/java-lustre/.OwlBot-hermetic.yaml index 35149925295a..187dae15ac4b 100644 --- a/java-lustre/.OwlBot-hermetic.yaml +++ b/java-lustre/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-lustre/samples/snippets/generated" deep-preserve-regex: +- "/java-lustre/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-lustre/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-lustre/README.md b/java-lustre/README.md index c63a52eddb5f..8842ca780532 100644 --- a/java-lustre/README.md +++ b/java-lustre/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-lustre - 0.28.0 + 0.29.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-lustre:0.28.0' +implementation 'com.google.cloud:google-cloud-lustre:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-lustre" % "0.29.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-lustre/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-lustre.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-lustre/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-lustre/google-cloud-lustre/src/main/java/com/google/cloud/lustre/v1/stub/Version.java b/java-lustre/google-cloud-lustre/src/main/java/com/google/cloud/lustre/v1/stub/Version.java index d12b292ca862..814df1a4de7e 100644 --- a/java-lustre/google-cloud-lustre/src/main/java/com/google/cloud/lustre/v1/stub/Version.java +++ b/java-lustre/google-cloud-lustre/src/main/java/com/google/cloud/lustre/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-lustre:current} - static final String VERSION = "0.29.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maintenance/.OwlBot-hermetic.yaml b/java-maintenance/.OwlBot-hermetic.yaml index 52ef638c91c4..478ac4c4637f 100644 --- a/java-maintenance/.OwlBot-hermetic.yaml +++ b/java-maintenance/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maintenance/samples/snippets/generated" deep-preserve-regex: +- "/java-maintenance/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maintenance/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maintenance/README.md b/java-maintenance/README.md index 410205d049ef..f246dcf4ee27 100644 --- a/java-maintenance/README.md +++ b/java-maintenance/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-maintenance - 0.22.0 + 0.23.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-maintenance:0.22.0' +implementation 'com.google.cloud:google-cloud-maintenance:0.23.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.22.0" +libraryDependencies += "com.google.cloud" % "google-cloud-maintenance" % "0.23.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-maintenance/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-maintenance.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.22.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-maintenance/0.23.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1/stub/Version.java b/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1/stub/Version.java index 8188aabc18b1..349043653412 100644 --- a/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1/stub/Version.java +++ b/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-maintenance:current} - static final String VERSION = "0.23.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1beta/stub/Version.java b/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1beta/stub/Version.java index b905b1e75a2f..b1372420f380 100644 --- a/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1beta/stub/Version.java +++ b/java-maintenance/google-cloud-maintenance/src/main/java/com/google/cloud/maintenance/api/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-maintenance:current} - static final String VERSION = "0.23.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-managed-identities/.OwlBot-hermetic.yaml b/java-managed-identities/.OwlBot-hermetic.yaml index d6847a83b50f..4595e9726f43 100644 --- a/java-managed-identities/.OwlBot-hermetic.yaml +++ b/java-managed-identities/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-managed-identities/google-.*/src" deep-preserve-regex: +- "/java-managed-identities/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-managed-identities/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-managed-identities/README.md b/java-managed-identities/README.md index 79e83c6bab6e..82a93c3ec545 100644 --- a/java-managed-identities/README.md +++ b/java-managed-identities/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managed-identities - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managed-identities:1.86.0' +implementation 'com.google.cloud:google-cloud-managed-identities:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managed-identities" % "1.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-managed-identities/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managed-identities.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managed-identities/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/stub/Version.java b/java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/stub/Version.java index 522aadf32833..eb334b84e772 100644 --- a/java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/stub/Version.java +++ b/java-managed-identities/google-cloud-managed-identities/src/main/java/com/google/cloud/managedidentities/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-managed-identities:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-managedkafka/.OwlBot-hermetic.yaml b/java-managedkafka/.OwlBot-hermetic.yaml index ec0b04f715bc..0594d83b6e6c 100644 --- a/java-managedkafka/.OwlBot-hermetic.yaml +++ b/java-managedkafka/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-managedkafka/samples/snippets/generated" deep-preserve-regex: +- "/java-managedkafka/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-managedkafka/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-managedkafka/README.md b/java-managedkafka/README.md index 6ee263822c5f..a2077f181c39 100644 --- a/java-managedkafka/README.md +++ b/java-managedkafka/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-managedkafka - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-managedkafka:0.44.0' +implementation 'com.google.cloud:google-cloud-managedkafka:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-managedkafka" % "0.45.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-managedkafka/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-managedkafka.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-managedkafka/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-managedkafka/google-cloud-managedkafka/src/main/java/com/google/cloud/managedkafka/v1/stub/Version.java b/java-managedkafka/google-cloud-managedkafka/src/main/java/com/google/cloud/managedkafka/v1/stub/Version.java index 18b2d7bad7ed..9e9e73502905 100644 --- a/java-managedkafka/google-cloud-managedkafka/src/main/java/com/google/cloud/managedkafka/v1/stub/Version.java +++ b/java-managedkafka/google-cloud-managedkafka/src/main/java/com/google/cloud/managedkafka/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-managedkafka:current} - static final String VERSION = "0.45.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-addressvalidation/.OwlBot-hermetic.yaml b/java-maps-addressvalidation/.OwlBot-hermetic.yaml index 6a923403e131..a6e0503a391e 100644 --- a/java-maps-addressvalidation/.OwlBot-hermetic.yaml +++ b/java-maps-addressvalidation/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-addressvalidation/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-addressvalidation/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-addressvalidation/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-addressvalidation/README.md b/java-maps-addressvalidation/README.md index 52d6d001b8c4..562669a02bfe 100644 --- a/java-maps-addressvalidation/README.md +++ b/java-maps-addressvalidation/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-addressvalidation - 0.82.0 + 0.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-addressvalidation:0.82.0' +implementation 'com.google.maps:google-maps-addressvalidation:0.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.82.0" +libraryDependencies += "com.google.maps" % "google-maps-addressvalidation" % "0.83.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-addressvalidation/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-addressvalidation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-addressvalidation/0.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/Version.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/Version.java index 4ac21d0a8ea6..f610d503df47 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/Version.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-addressvalidation:current} - static final String VERSION = "0.83.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-area-insights/.OwlBot-hermetic.yaml b/java-maps-area-insights/.OwlBot-hermetic.yaml index 3fbcb9bee13b..22a1d6f119c5 100644 --- a/java-maps-area-insights/.OwlBot-hermetic.yaml +++ b/java-maps-area-insights/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-area-insights/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-area-insights/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-area-insights/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-area-insights/README.md b/java-maps-area-insights/README.md index 0eaaf9fd7df5..b750bff0a743 100644 --- a/java-maps-area-insights/README.md +++ b/java-maps-area-insights/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-area-insights - 0.39.0 + 0.40.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-area-insights:0.39.0' +implementation 'com.google.maps:google-maps-area-insights:0.40.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.39.0" +libraryDependencies += "com.google.maps" % "google-maps-area-insights" % "0.40.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-area-insights/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-area-insights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.39.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-area-insights/0.40.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-area-insights/google-maps-area-insights/src/main/java/com/google/maps/areainsights/v1/stub/Version.java b/java-maps-area-insights/google-maps-area-insights/src/main/java/com/google/maps/areainsights/v1/stub/Version.java index f13e07cdae39..165d03f0c74c 100644 --- a/java-maps-area-insights/google-maps-area-insights/src/main/java/com/google/maps/areainsights/v1/stub/Version.java +++ b/java-maps-area-insights/google-maps-area-insights/src/main/java/com/google/maps/areainsights/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-area-insights:current} - static final String VERSION = "0.40.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-fleetengine-delivery/.OwlBot-hermetic.yaml b/java-maps-fleetengine-delivery/.OwlBot-hermetic.yaml index 309a1cfd5d27..e19e747c3479 100644 --- a/java-maps-fleetengine-delivery/.OwlBot-hermetic.yaml +++ b/java-maps-fleetengine-delivery/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-fleetengine-delivery/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-fleetengine-delivery/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-fleetengine-delivery/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-fleetengine-delivery/README.md b/java-maps-fleetengine-delivery/README.md index d7f1e8c4d9cf..7c62835c51c5 100644 --- a/java-maps-fleetengine-delivery/README.md +++ b/java-maps-fleetengine-delivery/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-fleetengine-delivery - 0.35.0 + 0.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine-delivery:0.35.0' +implementation 'com.google.maps:google-maps-fleetengine-delivery:0.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.35.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine-delivery" % "0.36.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-fleetengine-delivery/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine-delivery.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine-delivery/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-fleetengine-delivery/google-maps-fleetengine-delivery/src/main/java/com/google/maps/fleetengine/delivery/v1/stub/Version.java b/java-maps-fleetengine-delivery/google-maps-fleetengine-delivery/src/main/java/com/google/maps/fleetengine/delivery/v1/stub/Version.java index a75fa19623b9..d6970a1ead87 100644 --- a/java-maps-fleetengine-delivery/google-maps-fleetengine-delivery/src/main/java/com/google/maps/fleetengine/delivery/v1/stub/Version.java +++ b/java-maps-fleetengine-delivery/google-maps-fleetengine-delivery/src/main/java/com/google/maps/fleetengine/delivery/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-fleetengine-delivery:current} - static final String VERSION = "0.36.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-fleetengine/.OwlBot-hermetic.yaml b/java-maps-fleetengine/.OwlBot-hermetic.yaml index 6248bc68e648..a85b72274e3d 100644 --- a/java-maps-fleetengine/.OwlBot-hermetic.yaml +++ b/java-maps-fleetengine/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-fleetengine/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-fleetengine/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-fleetengine/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-fleetengine/README.md b/java-maps-fleetengine/README.md index 967e999a9ecc..31c64b3fe589 100644 --- a/java-maps-fleetengine/README.md +++ b/java-maps-fleetengine/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-fleetengine - 0.35.0 + 0.36.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-fleetengine:0.35.0' +implementation 'com.google.maps:google-maps-fleetengine:0.36.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.35.0" +libraryDependencies += "com.google.maps" % "google-maps-fleetengine" % "0.36.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-fleetengine/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-fleetengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.35.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-fleetengine/0.36.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-fleetengine/google-maps-fleetengine/src/main/java/com/google/maps/fleetengine/v1/stub/Version.java b/java-maps-fleetengine/google-maps-fleetengine/src/main/java/com/google/maps/fleetengine/v1/stub/Version.java index 0fa7d62f285c..74811cb8e798 100644 --- a/java-maps-fleetengine/google-maps-fleetengine/src/main/java/com/google/maps/fleetengine/v1/stub/Version.java +++ b/java-maps-fleetengine/google-maps-fleetengine/src/main/java/com/google/maps/fleetengine/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-fleetengine:current} - static final String VERSION = "0.36.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-geocode/README.md b/java-maps-geocode/README.md index fd2afdb420dc..cb0b1a4a5ff5 100644 --- a/java-maps-geocode/README.md +++ b/java-maps-geocode/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-geocode - 0.0.0 + 0.1.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-geocode:0.0.0' +implementation 'com.google.maps:google-maps-geocode:0.1.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-geocode" % "0.0.0" +libraryDependencies += "com.google.maps" % "google-maps-geocode" % "0.1.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-geocode/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-geocode.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-geocode/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-geocode/0.1.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-geocode/google-maps-geocode/src/main/java/com/google/maps/geocode/v4/stub/Version.java b/java-maps-geocode/google-maps-geocode/src/main/java/com/google/maps/geocode/v4/stub/Version.java index 99f7fd7a6283..c8e9a355dfde 100644 --- a/java-maps-geocode/google-maps-geocode/src/main/java/com/google/maps/geocode/v4/stub/Version.java +++ b/java-maps-geocode/google-maps-geocode/src/main/java/com/google/maps/geocode/v4/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-geocode:current} - static final String VERSION = "0.1.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-mapsplatformdatasets/.OwlBot-hermetic.yaml b/java-maps-mapsplatformdatasets/.OwlBot-hermetic.yaml index 6bee7d9b0bba..7617e17a1b83 100644 --- a/java-maps-mapsplatformdatasets/.OwlBot-hermetic.yaml +++ b/java-maps-mapsplatformdatasets/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-mapsplatformdatasets/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-mapsplatformdatasets/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-mapsplatformdatasets/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-mapsplatformdatasets/README.md b/java-maps-mapsplatformdatasets/README.md index 314460321d6f..de19b0a04067 100644 --- a/java-maps-mapsplatformdatasets/README.md +++ b/java-maps-mapsplatformdatasets/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-mapsplatformdatasets - 0.77.0 + 0.78.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.77.0' +implementation 'com.google.maps:google-maps-mapsplatformdatasets:0.78.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.77.0" +libraryDependencies += "com.google.maps" % "google-maps-mapsplatformdatasets" % "0.78.0" ``` ## Authentication @@ -159,7 +159,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-mapsplatformdatasets/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-mapsplatformdatasets.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.77.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-mapsplatformdatasets/0.78.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/Version.java b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/Version.java index 3787c1955b61..2faa8e8fcf4e 100644 --- a/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/Version.java +++ b/java-maps-mapsplatformdatasets/google-maps-mapsplatformdatasets/src/main/java/com/google/maps/mapsplatformdatasets/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-mapsplatformdatasets:current} - static final String VERSION = "0.78.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-places/.OwlBot-hermetic.yaml b/java-maps-places/.OwlBot-hermetic.yaml index 66a8e8214a5f..fca1679558a1 100644 --- a/java-maps-places/.OwlBot-hermetic.yaml +++ b/java-maps-places/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-places/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-places/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-places/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-places/README.md b/java-maps-places/README.md index c657f92f649c..426c8fc64c71 100644 --- a/java-maps-places/README.md +++ b/java-maps-places/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-places - 0.59.0 + 0.60.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-places:0.59.0' +implementation 'com.google.maps:google-maps-places:0.60.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-places" % "0.59.0" +libraryDependencies += "com.google.maps" % "google-maps-places" % "0.60.0" ``` ## Authentication @@ -162,7 +162,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-places/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-places.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.59.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-places/0.60.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-places/google-maps-places/src/main/java/com/google/maps/places/v1/stub/Version.java b/java-maps-places/google-maps-places/src/main/java/com/google/maps/places/v1/stub/Version.java index b09fc7952ed7..30d2354caf7b 100644 --- a/java-maps-places/google-maps-places/src/main/java/com/google/maps/places/v1/stub/Version.java +++ b/java-maps-places/google-maps-places/src/main/java/com/google/maps/places/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-places:current} - static final String VERSION = "0.60.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-routeoptimization/.OwlBot-hermetic.yaml b/java-maps-routeoptimization/.OwlBot-hermetic.yaml index e83512f9377b..3412817defba 100644 --- a/java-maps-routeoptimization/.OwlBot-hermetic.yaml +++ b/java-maps-routeoptimization/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-routeoptimization/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-routeoptimization/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-routeoptimization/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-routeoptimization/README.md b/java-maps-routeoptimization/README.md index a4228e90c138..41d83db08a3d 100644 --- a/java-maps-routeoptimization/README.md +++ b/java-maps-routeoptimization/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-routeoptimization - 0.46.0 + 0.47.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routeoptimization:0.46.0' +implementation 'com.google.maps:google-maps-routeoptimization:0.47.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.46.0" +libraryDependencies += "com.google.maps" % "google-maps-routeoptimization" % "0.47.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-routeoptimization/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routeoptimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.46.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routeoptimization/0.47.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/Version.java b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/Version.java index 96f6928d996d..3ccc05919450 100644 --- a/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/Version.java +++ b/java-maps-routeoptimization/google-maps-routeoptimization/src/main/java/com/google/maps/routeoptimization/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-routeoptimization:current} - static final String VERSION = "0.47.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-routing/.OwlBot-hermetic.yaml b/java-maps-routing/.OwlBot-hermetic.yaml index fa373f0b66eb..59193b02125b 100644 --- a/java-maps-routing/.OwlBot-hermetic.yaml +++ b/java-maps-routing/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-routing/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-routing/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-routing/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-routing/README.md b/java-maps-routing/README.md index 6d0ac9dbc6cc..1d63e31078b6 100644 --- a/java-maps-routing/README.md +++ b/java-maps-routing/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-routing - 1.73.0 + 1.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-routing:1.73.0' +implementation 'com.google.maps:google-maps-routing:1.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.73.0" +libraryDependencies += "com.google.maps" % "google-maps-routing" % "1.74.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-routing/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-routing.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-routing/1.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/Version.java b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/Version.java index 0373909582ed..0bed1a64eee9 100644 --- a/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/Version.java +++ b/java-maps-routing/google-maps-routing/src/main/java/com/google/maps/routing/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-routing:current} - static final String VERSION = "1.74.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-maps-solar/.OwlBot-hermetic.yaml b/java-maps-solar/.OwlBot-hermetic.yaml index ace323a1443c..59caf3fdb13b 100644 --- a/java-maps-solar/.OwlBot-hermetic.yaml +++ b/java-maps-solar/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-maps-solar/samples/snippets/generated" deep-preserve-regex: +- "/java-maps-solar/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-maps-solar/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-maps-solar/README.md b/java-maps-solar/README.md index 40b4d31042ae..c367b0f392a0 100644 --- a/java-maps-solar/README.md +++ b/java-maps-solar/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.maps google-maps-solar - 0.47.0 + 0.48.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.maps:google-maps-solar:0.47.0' +implementation 'com.google.maps:google-maps-solar:0.48.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.47.0" +libraryDependencies += "com.google.maps" % "google-maps-solar" % "0.48.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-maps-solar/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.maps/google-maps-solar.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.47.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.maps/google-maps-solar/0.48.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-maps-solar/google-maps-solar/src/main/java/com/google/maps/solar/v1/stub/Version.java b/java-maps-solar/google-maps-solar/src/main/java/com/google/maps/solar/v1/stub/Version.java index 0302d4fd3f8e..ecbfecd5a7d4 100644 --- a/java-maps-solar/google-maps-solar/src/main/java/com/google/maps/solar/v1/stub/Version.java +++ b/java-maps-solar/google-maps-solar/src/main/java/com/google/maps/solar/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-maps-solar:current} - static final String VERSION = "0.48.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-marketingplatformadminapi/.OwlBot-hermetic.yaml b/java-marketingplatformadminapi/.OwlBot-hermetic.yaml index d07fb81d9208..ecab00fdcb18 100644 --- a/java-marketingplatformadminapi/.OwlBot-hermetic.yaml +++ b/java-marketingplatformadminapi/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-marketingplatformadminapi/samples/snippets/generated" deep-preserve-regex: +- "/java-marketingplatformadminapi/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-marketingplatformadminapi/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-marketingplatformadminapi/README.md b/java-marketingplatformadminapi/README.md index b6a6ee06dd51..17e65700f316 100644 --- a/java-marketingplatformadminapi/README.md +++ b/java-marketingplatformadminapi/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.ads-marketingplatform admin - 0.37.0 + 0.38.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.ads-marketingplatform:admin:0.37.0' +implementation 'com.google.ads-marketingplatform:admin:0.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.37.0" +libraryDependencies += "com.google.ads-marketingplatform" % "admin" % "0.38.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/admin/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.ads-marketingplatform/admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.ads-marketingplatform/admin/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-marketingplatformadminapi/admin/src/main/java/com/google/ads/marketingplatform/admin/v1alpha/stub/Version.java b/java-marketingplatformadminapi/admin/src/main/java/com/google/ads/marketingplatform/admin/v1alpha/stub/Version.java index 894f0fc7cbe7..6120f0a17da7 100644 --- a/java-marketingplatformadminapi/admin/src/main/java/com/google/ads/marketingplatform/admin/v1alpha/stub/Version.java +++ b/java-marketingplatformadminapi/admin/src/main/java/com/google/ads/marketingplatform/admin/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:admin:current} - static final String VERSION = "0.38.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-mediatranslation/README.md b/java-mediatranslation/README.md index dc4712a7256b..7c9645cf77b5 100644 --- a/java-mediatranslation/README.md +++ b/java-mediatranslation/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-mediatranslation - 0.94.0 + 0.95.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-mediatranslation:0.94.0' +implementation 'com.google.cloud:google-cloud-mediatranslation:0.95.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.94.0" +libraryDependencies += "com.google.cloud" % "google-cloud-mediatranslation" % "0.95.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-mediatranslation/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-mediatranslation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.94.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-mediatranslation/0.95.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/Version.java b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/Version.java index ec1a4afe59e3..ad5ecba1b2a7 100644 --- a/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/Version.java +++ b/java-mediatranslation/google-cloud-mediatranslation/src/main/java/com/google/cloud/mediatranslation/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-mediatranslation:current} - static final String VERSION = "0.95.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-meet/.OwlBot-hermetic.yaml b/java-meet/.OwlBot-hermetic.yaml index f719201f48e6..dccba332d661 100644 --- a/java-meet/.OwlBot-hermetic.yaml +++ b/java-meet/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-meet/samples/snippets/generated" deep-preserve-regex: +- "/java-meet/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-meet/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-meet/README.md b/java-meet/README.md index 0825d5e522e8..7ee511ecbc16 100644 --- a/java-meet/README.md +++ b/java-meet/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-meet - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-meet:0.55.0' +implementation 'com.google.cloud:google-cloud-meet:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-meet" % "0.56.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-meet/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-meet.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-meet/0.56.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2/stub/Version.java b/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2/stub/Version.java index 16222e132497..da449cea1d04 100644 --- a/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2/stub/Version.java +++ b/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-meet:current} - static final String VERSION = "0.56.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2beta/stub/Version.java b/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2beta/stub/Version.java index d1aa0f143bd5..effb87d99420 100644 --- a/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2beta/stub/Version.java +++ b/java-meet/google-cloud-meet/src/main/java/com/google/apps/meet/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-meet:current} - static final String VERSION = "0.56.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-memcache/.OwlBot-hermetic.yaml b/java-memcache/.OwlBot-hermetic.yaml index 74461111285a..645c7442287d 100644 --- a/java-memcache/.OwlBot-hermetic.yaml +++ b/java-memcache/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-memcache/google-.*/src" deep-preserve-regex: +- "/java-memcache/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-memcache/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-memcache/README.md b/java-memcache/README.md index 5562001fc2d4..d8cdf9f95fe2 100644 --- a/java-memcache/README.md +++ b/java-memcache/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-memcache - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-memcache:2.88.0' +implementation 'com.google.cloud:google-cloud-memcache:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-memcache" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-memcache/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-memcache.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-memcache/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/Version.java b/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/Version.java index 5ba46f7c02cc..fe31f495ce18 100644 --- a/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/Version.java +++ b/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-memcache:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/Version.java b/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/Version.java index 560605cd0215..e7019d866eeb 100644 --- a/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/Version.java +++ b/java-memcache/google-cloud-memcache/src/main/java/com/google/cloud/memcache/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-memcache:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-migrationcenter/.OwlBot-hermetic.yaml b/java-migrationcenter/.OwlBot-hermetic.yaml index 653bc889f6d1..7901e78ac19f 100644 --- a/java-migrationcenter/.OwlBot-hermetic.yaml +++ b/java-migrationcenter/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-migrationcenter/samples/snippets/generated" deep-preserve-regex: +- "/java-migrationcenter/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-migrationcenter/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-migrationcenter/README.md b/java-migrationcenter/README.md index c676f3f475ba..a5a2e2b632a8 100644 --- a/java-migrationcenter/README.md +++ b/java-migrationcenter/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-migrationcenter - 0.70.0 + 0.71.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-migrationcenter:0.70.0' +implementation 'com.google.cloud:google-cloud-migrationcenter:0.71.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.70.0" +libraryDependencies += "com.google.cloud" % "google-cloud-migrationcenter" % "0.71.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-migrationcenter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-migrationcenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.70.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-migrationcenter/0.71.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-migrationcenter/google-cloud-migrationcenter/src/main/java/com/google/cloud/migrationcenter/v1/stub/Version.java b/java-migrationcenter/google-cloud-migrationcenter/src/main/java/com/google/cloud/migrationcenter/v1/stub/Version.java index c6358b5ccf46..9e55eefedc16 100644 --- a/java-migrationcenter/google-cloud-migrationcenter/src/main/java/com/google/cloud/migrationcenter/v1/stub/Version.java +++ b/java-migrationcenter/google-cloud-migrationcenter/src/main/java/com/google/cloud/migrationcenter/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-migrationcenter:current} - static final String VERSION = "0.71.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-modelarmor/.OwlBot-hermetic.yaml b/java-modelarmor/.OwlBot-hermetic.yaml index ac6592d56062..5f4eb3b6e6e1 100644 --- a/java-modelarmor/.OwlBot-hermetic.yaml +++ b/java-modelarmor/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-modelarmor/samples/snippets/generated" deep-preserve-regex: +- "/java-modelarmor/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-modelarmor/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-modelarmor/README.md b/java-modelarmor/README.md index 4cb75a4368be..7059d51e807a 100644 --- a/java-modelarmor/README.md +++ b/java-modelarmor/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-modelarmor - 0.29.0 + 0.30.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-modelarmor:0.29.0' +implementation 'com.google.cloud:google-cloud-modelarmor:0.30.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.29.0" +libraryDependencies += "com.google.cloud" % "google-cloud-modelarmor" % "0.30.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-modelarmor/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-modelarmor.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.29.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-modelarmor/0.30.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1/stub/Version.java b/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1/stub/Version.java index 48d75ee9875a..0a6252db0128 100644 --- a/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1/stub/Version.java +++ b/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-modelarmor:current} - static final String VERSION = "0.30.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1beta/stub/Version.java b/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1beta/stub/Version.java index 9c1880ea992f..d3049e87e6d5 100644 --- a/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1beta/stub/Version.java +++ b/java-modelarmor/google-cloud-modelarmor/src/main/java/com/google/cloud/modelarmor/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-modelarmor:current} - static final String VERSION = "0.30.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-monitoring-dashboards/.OwlBot-hermetic.yaml b/java-monitoring-dashboards/.OwlBot-hermetic.yaml index 36da9fb3ef32..640c7cb921f7 100644 --- a/java-monitoring-dashboards/.OwlBot-hermetic.yaml +++ b/java-monitoring-dashboards/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-monitoring-dashboards/samples/snippets/generated" deep-preserve-regex: +- "/java-monitoring-dashboards/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-monitoring-dashboards/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-monitoring-dashboards/README.md b/java-monitoring-dashboards/README.md index e4f3e41487c7..ed497f6059a2 100644 --- a/java-monitoring-dashboards/README.md +++ b/java-monitoring-dashboards/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-dashboard - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.90.0' +implementation 'com.google.cloud:google-cloud-monitoring-dashboard:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-dashboard" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring-dashboard/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-dashboard.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-dashboard/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/stub/Version.java b/java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/stub/Version.java index 28add1005f3d..4228d6309bfb 100644 --- a/java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/stub/Version.java +++ b/java-monitoring-dashboards/google-cloud-monitoring-dashboard/src/main/java/com/google/cloud/monitoring/dashboard/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-monitoring-dashboard:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-monitoring-metricsscope/.OwlBot-hermetic.yaml b/java-monitoring-metricsscope/.OwlBot-hermetic.yaml index e4f089b55c70..e7770bff08e1 100644 --- a/java-monitoring-metricsscope/.OwlBot-hermetic.yaml +++ b/java-monitoring-metricsscope/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-monitoring-metricsscope/samples/snippets/generated" deep-preserve-regex: +- "/java-monitoring-metricsscope/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-monitoring-metricsscope/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-monitoring-metricsscope/README.md b/java-monitoring-metricsscope/README.md index c3d2364f184c..c16be331b84c 100644 --- a/java-monitoring-metricsscope/README.md +++ b/java-monitoring-metricsscope/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring-metricsscope - 0.82.0 + 0.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.82.0' +implementation 'com.google.cloud:google-cloud-monitoring-metricsscope:0.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring-metricsscope" % "0.83.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring-metricsscope/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring-metricsscope.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring-metricsscope/0.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/src/main/java/com/google/monitoring/metricsscope/v1/stub/Version.java b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/src/main/java/com/google/monitoring/metricsscope/v1/stub/Version.java index 6bfbd97d04df..743cb71e2068 100644 --- a/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/src/main/java/com/google/monitoring/metricsscope/v1/stub/Version.java +++ b/java-monitoring-metricsscope/google-cloud-monitoring-metricsscope/src/main/java/com/google/monitoring/metricsscope/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-monitoring-metricsscope:current} - static final String VERSION = "0.83.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-monitoring/.OwlBot-hermetic.yaml b/java-monitoring/.OwlBot-hermetic.yaml index d7b4fa1f3ae4..ef9981016e03 100644 --- a/java-monitoring/.OwlBot-hermetic.yaml +++ b/java-monitoring/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-monitoring/samples/snippets/generated" deep-preserve-regex: +- "/java-monitoring/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-monitoring/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-monitoring/google-cloud-monitoring/src/test/java/com/google/cloud/monitoring/v3/ITVPCServiceControlTest.java" diff --git a/java-monitoring/README.md b/java-monitoring/README.md index c38339ddc31a..c4ea67287092 100644 --- a/java-monitoring/README.md +++ b/java-monitoring/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-monitoring - 3.89.0 + 3.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-monitoring:3.89.0' +implementation 'com.google.cloud:google-cloud-monitoring:3.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-monitoring" % "3.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-monitoring/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-monitoring.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-monitoring/3.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/Version.java b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/Version.java index f16706af390b..543c92f617ba 100644 --- a/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/Version.java +++ b/java-monitoring/google-cloud-monitoring/src/main/java/com/google/cloud/monitoring/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-monitoring:current} - static final String VERSION = "3.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-netapp/.OwlBot-hermetic.yaml b/java-netapp/.OwlBot-hermetic.yaml index 6edf9dd80757..758ae7ee4274 100644 --- a/java-netapp/.OwlBot-hermetic.yaml +++ b/java-netapp/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-netapp/samples/snippets/generated" deep-preserve-regex: +- "/java-netapp/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-netapp/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-netapp/README.md b/java-netapp/README.md index 87e6fb493c64..3bb2edf382e6 100644 --- a/java-netapp/README.md +++ b/java-netapp/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-netapp - 0.67.0 + 0.68.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-netapp:0.67.0' +implementation 'com.google.cloud:google-cloud-netapp:0.68.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.67.0" +libraryDependencies += "com.google.cloud" % "google-cloud-netapp" % "0.68.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-netapp/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-netapp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.67.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-netapp/0.68.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/Version.java b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/Version.java index 2fa9e3d21052..92241c77a823 100644 --- a/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/Version.java +++ b/java-netapp/google-cloud-netapp/src/main/java/com/google/cloud/netapp/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-netapp:current} - static final String VERSION = "0.68.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-network-management/.OwlBot-hermetic.yaml b/java-network-management/.OwlBot-hermetic.yaml index 6a1f3a7ef361..90462c4ad23c 100644 --- a/java-network-management/.OwlBot-hermetic.yaml +++ b/java-network-management/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-network-management/google-.*/src" deep-preserve-regex: +- "/java-network-management/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-network-management/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-network-management/README.md b/java-network-management/README.md index 2080f5b20c04..a3f7a4dbb87e 100644 --- a/java-network-management/README.md +++ b/java-network-management/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-management - 1.89.0 + 1.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-management:1.89.0' +implementation 'com.google.cloud:google-cloud-network-management:1.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-management" % "1.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-network-management/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-management/1.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/Version.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/Version.java index cad559f489c4..93cafdfbb098 100644 --- a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/Version.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-network-management:current} - static final String VERSION = "1.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/Version.java b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/Version.java index 60cfe1720f11..936c11de549c 100644 --- a/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/Version.java +++ b/java-network-management/google-cloud-network-management/src/main/java/com/google/cloud/networkmanagement/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-network-management:current} - static final String VERSION = "1.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-network-security/.OwlBot-hermetic.yaml b/java-network-security/.OwlBot-hermetic.yaml index 397dd1072244..f29f99f0610a 100644 --- a/java-network-security/.OwlBot-hermetic.yaml +++ b/java-network-security/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-network-security/google-.*/src" deep-preserve-regex: +- "/java-network-security/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-network-security/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-network-security/README.md b/java-network-security/README.md index 79f7ca4d8ad7..e801bde5ea4c 100644 --- a/java-network-security/README.md +++ b/java-network-security/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-network-security - 0.91.0 + 0.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-network-security:0.91.0' +implementation 'com.google.cloud:google-cloud-network-security:0.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-network-security" % "0.92.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-network-security/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-network-security.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-network-security/0.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/Version.java b/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/Version.java index 22dee04cb3ff..cc9204acf868 100644 --- a/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/Version.java +++ b/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-network-security:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/Version.java b/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/Version.java index 9e6522c47228..2bc2dd93e2ea 100644 --- a/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/Version.java +++ b/java-network-security/google-cloud-network-security/src/main/java/com/google/cloud/networksecurity/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-network-security:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-networkconnectivity/.OwlBot-hermetic.yaml b/java-networkconnectivity/.OwlBot-hermetic.yaml index 8b235eb60811..e3987b48bf7c 100644 --- a/java-networkconnectivity/.OwlBot-hermetic.yaml +++ b/java-networkconnectivity/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-networkconnectivity/google-.*/src" deep-preserve-regex: +- "/java-networkconnectivity/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-networkconnectivity/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-networkconnectivity/README.md b/java-networkconnectivity/README.md index 7a02ac421c60..1da2c0021939 100644 --- a/java-networkconnectivity/README.md +++ b/java-networkconnectivity/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkconnectivity - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkconnectivity:1.87.0' +implementation 'com.google.cloud:google-cloud-networkconnectivity:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-networkconnectivity/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkconnectivity.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkconnectivity/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/Version.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/Version.java index 8e91697f27e3..081342c1e554 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/Version.java +++ b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-networkconnectivity:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/Version.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/Version.java index 5d9b42003a16..67f85f364db2 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/Version.java +++ b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-networkconnectivity:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1beta/stub/Version.java b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1beta/stub/Version.java index d6fbdbe5e23d..b3a5092ebb27 100644 --- a/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1beta/stub/Version.java +++ b/java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-networkconnectivity:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-networkservices/.OwlBot-hermetic.yaml b/java-networkservices/.OwlBot-hermetic.yaml index b6224346ef7f..826654ecf87c 100644 --- a/java-networkservices/.OwlBot-hermetic.yaml +++ b/java-networkservices/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-networkservices/samples/snippets/generated" deep-preserve-regex: +- "/java-networkservices/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-networkservices/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-networkservices/README.md b/java-networkservices/README.md index 354289f9334e..ec065e193060 100644 --- a/java-networkservices/README.md +++ b/java-networkservices/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-networkservices - 0.44.0 + 0.45.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-networkservices:0.44.0' +implementation 'com.google.cloud:google-cloud-networkservices:0.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.44.0" +libraryDependencies += "com.google.cloud" % "google-cloud-networkservices" % "0.45.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-networkservices/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-networkservices.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.44.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-networkservices/0.45.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-networkservices/google-cloud-networkservices/src/main/java/com/google/cloud/networkservices/v1/stub/Version.java b/java-networkservices/google-cloud-networkservices/src/main/java/com/google/cloud/networkservices/v1/stub/Version.java index c4f81cd372d2..610ea2f1dc8c 100644 --- a/java-networkservices/google-cloud-networkservices/src/main/java/com/google/cloud/networkservices/v1/stub/Version.java +++ b/java-networkservices/google-cloud-networkservices/src/main/java/com/google/cloud/networkservices/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-networkservices:current} - static final String VERSION = "0.45.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-notebooks/.OwlBot-hermetic.yaml b/java-notebooks/.OwlBot-hermetic.yaml index 53d18b47fe4b..bb882261a16a 100644 --- a/java-notebooks/.OwlBot-hermetic.yaml +++ b/java-notebooks/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-notebooks/google-.*/src" deep-preserve-regex: +- "/java-notebooks/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-notebooks/google-.*/src/test/java/com/google/cloud/.*/v.*/it/.*.java" deep-copy-regex: diff --git a/java-notebooks/README.md b/java-notebooks/README.md index f1df1f6e780d..b6877ca5d0d5 100644 --- a/java-notebooks/README.md +++ b/java-notebooks/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-notebooks - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-notebooks:1.86.0' +implementation 'com.google.cloud:google-cloud-notebooks:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-notebooks" % "1.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-notebooks/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-notebooks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-notebooks/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/Version.java b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/Version.java index f07551df00d6..8093878d3cca 100644 --- a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/Version.java +++ b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-notebooks:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/Version.java b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/Version.java index 9c4ebd326a39..fec33cea9b4e 100644 --- a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/Version.java +++ b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-notebooks:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v2/stub/Version.java b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v2/stub/Version.java index 1b8c6d1f3ef2..8995953a59f6 100644 --- a/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v2/stub/Version.java +++ b/java-notebooks/google-cloud-notebooks/src/main/java/com/google/cloud/notebooks/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-notebooks:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-optimization/.OwlBot-hermetic.yaml b/java-optimization/.OwlBot-hermetic.yaml index a711794f312a..483dde3aff3b 100644 --- a/java-optimization/.OwlBot-hermetic.yaml +++ b/java-optimization/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-optimization/google-.*/src" deep-preserve-regex: +- "/java-optimization/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-optimization/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-optimization/README.md b/java-optimization/README.md index 7c08b651aa79..35a4781e82eb 100644 --- a/java-optimization/README.md +++ b/java-optimization/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-optimization - 1.86.0 + 1.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-optimization:1.86.0' +implementation 'com.google.cloud:google-cloud-optimization:1.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-optimization" % "1.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-optimization/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-optimization.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-optimization/1.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-optimization/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/Version.java b/java-optimization/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/Version.java index c975b761aef1..9aa9de206568 100644 --- a/java-optimization/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/Version.java +++ b/java-optimization/google-cloud-optimization/src/main/java/com/google/cloud/optimization/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-optimization:current} - static final String VERSION = "1.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-oracledatabase/.OwlBot-hermetic.yaml b/java-oracledatabase/.OwlBot-hermetic.yaml index 2f4c13082edf..a64f4f13fba2 100644 --- a/java-oracledatabase/.OwlBot-hermetic.yaml +++ b/java-oracledatabase/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-oracledatabase/samples/snippets/generated" deep-preserve-regex: +- "/java-oracledatabase/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-oracledatabase/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-oracledatabase/README.md b/java-oracledatabase/README.md index 571977f3271f..1aa468738789 100644 --- a/java-oracledatabase/README.md +++ b/java-oracledatabase/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-oracledatabase - 0.37.0 + 0.38.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-oracledatabase:0.37.0' +implementation 'com.google.cloud:google-cloud-oracledatabase:0.38.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.37.0" +libraryDependencies += "com.google.cloud" % "google-cloud-oracledatabase" % "0.38.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-oracledatabase.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.37.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-oracledatabase/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-oracledatabase/google-cloud-oracledatabase/src/main/java/com/google/cloud/oracledatabase/v1/stub/Version.java b/java-oracledatabase/google-cloud-oracledatabase/src/main/java/com/google/cloud/oracledatabase/v1/stub/Version.java index 626fc23a4b8b..6faf0e1eaddb 100644 --- a/java-oracledatabase/google-cloud-oracledatabase/src/main/java/com/google/cloud/oracledatabase/v1/stub/Version.java +++ b/java-oracledatabase/google-cloud-oracledatabase/src/main/java/com/google/cloud/oracledatabase/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-oracledatabase:current} - static final String VERSION = "0.38.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-orchestration-airflow/.OwlBot-hermetic.yaml b/java-orchestration-airflow/.OwlBot-hermetic.yaml index 063a3825823a..8e58e22a7195 100644 --- a/java-orchestration-airflow/.OwlBot-hermetic.yaml +++ b/java-orchestration-airflow/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-orchestration-airflow/google-.*/src" deep-preserve-regex: +- "/java-orchestration-airflow/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-orchestration-airflow/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-orchestration-airflow/README.md b/java-orchestration-airflow/README.md index aa3f15e2cdf9..8bb522089bba 100644 --- a/java-orchestration-airflow/README.md +++ b/java-orchestration-airflow/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orchestration-airflow - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.88.0' +implementation 'com.google.cloud:google-cloud-orchestration-airflow:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orchestration-airflow" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-orchestration-airflow/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orchestration-airflow.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orchestration-airflow/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/Version.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/Version.java index 33b47703d4a1..936b7a4842b7 100644 --- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/Version.java +++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-orchestration-airflow:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/Version.java b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/Version.java index 01eb21c5e5a2..d5916d67086d 100644 --- a/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/Version.java +++ b/java-orchestration-airflow/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-orchestration-airflow:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-orgpolicy/.OwlBot-hermetic.yaml b/java-orgpolicy/.OwlBot-hermetic.yaml index a2bcfb3f9580..716ddee090c5 100644 --- a/java-orgpolicy/.OwlBot-hermetic.yaml +++ b/java-orgpolicy/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-orgpolicy/google-.*/src" deep-preserve-regex: +- "/java-orgpolicy/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-orgpolicy/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-orgpolicy/README.md b/java-orgpolicy/README.md index 012e8b56429c..aa9a731fde39 100644 --- a/java-orgpolicy/README.md +++ b/java-orgpolicy/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-orgpolicy - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-orgpolicy:2.88.0' +implementation 'com.google.cloud:google-cloud-orgpolicy:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-orgpolicy" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/proto-google-cloud-orgpolicy-v1/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-orgpolicy.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-orgpolicy/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/stub/Version.java b/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/stub/Version.java index 69dce74a0bd7..29d4d99a8abc 100644 --- a/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/stub/Version.java +++ b/java-orgpolicy/google-cloud-orgpolicy/src/main/java/com/google/cloud/orgpolicy/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-orgpolicy:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-os-config/README.md b/java-os-config/README.md index 6b5424599e54..2141d1195e19 100644 --- a/java-os-config/README.md +++ b/java-os-config/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-config - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-config:2.90.0' +implementation 'com.google.cloud:google-cloud-os-config:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-config" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-os-config/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-config.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-config/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/Version.java b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/Version.java index 08cfc7d4e1f3..23563d283be1 100644 --- a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/Version.java +++ b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-os-config:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/Version.java b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/Version.java index 935d5295afe0..759934257934 100644 --- a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/Version.java +++ b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-os-config:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/Version.java b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/Version.java index 4be3efd75252..0f7a4250d8c5 100644 --- a/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/Version.java +++ b/java-os-config/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-os-config:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-os-login/.OwlBot-hermetic.yaml b/java-os-login/.OwlBot-hermetic.yaml index d1743df772cd..6f301fcd8ec6 100644 --- a/java-os-login/.OwlBot-hermetic.yaml +++ b/java-os-login/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-os-login/samples/snippets/generated" deep-preserve-regex: +- "/java-os-login/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-os-login/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/FingerprintName.java" - "/java-os-login/proto-google-cloud-os-login-v1/src/main/java/com/google/cloud/oslogin/common/ProjectName.java" diff --git a/java-os-login/README.md b/java-os-login/README.md index 642d9f65405d..7e1119aedf84 100644 --- a/java-os-login/README.md +++ b/java-os-login/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-os-login - 2.87.0 + 2.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-os-login:2.87.0' +implementation 'com.google.cloud:google-cloud-os-login:2.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-os-login" % "2.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-os-login/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-os-login.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-os-login/2.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-os-login/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/Version.java b/java-os-login/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/Version.java index 54a93042b37e..995a57fc6bb1 100644 --- a/java-os-login/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/Version.java +++ b/java-os-login/google-cloud-os-login/src/main/java/com/google/cloud/oslogin/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-os-login:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-parallelstore/.OwlBot-hermetic.yaml b/java-parallelstore/.OwlBot-hermetic.yaml index 5b03a0d61bdf..98b7ea6731b2 100644 --- a/java-parallelstore/.OwlBot-hermetic.yaml +++ b/java-parallelstore/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-parallelstore/samples/snippets/generated" deep-preserve-regex: +- "/java-parallelstore/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-parallelstore/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-parallelstore/README.md b/java-parallelstore/README.md index a3d72249ff74..ee7d817d6f3c 100644 --- a/java-parallelstore/README.md +++ b/java-parallelstore/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parallelstore - 0.51.0 + 0.52.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parallelstore:0.51.0' +implementation 'com.google.cloud:google-cloud-parallelstore:0.52.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.51.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parallelstore" % "0.52.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-parallelstore/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parallelstore.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.51.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parallelstore/0.52.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1/stub/Version.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1/stub/Version.java index 9a7b31ea29bf..9aa260286210 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1/stub/Version.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-parallelstore:current} - static final String VERSION = "0.52.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/Version.java b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/Version.java index 6112d05636e2..e0b43492ffbc 100644 --- a/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/Version.java +++ b/java-parallelstore/google-cloud-parallelstore/src/main/java/com/google/cloud/parallelstore/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-parallelstore:current} - static final String VERSION = "0.52.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-parametermanager/.OwlBot-hermetic.yaml b/java-parametermanager/.OwlBot-hermetic.yaml index 8ae16323164e..2d532e8580c1 100644 --- a/java-parametermanager/.OwlBot-hermetic.yaml +++ b/java-parametermanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-parametermanager/samples/snippets/generated" deep-preserve-regex: +- "/java-parametermanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-parametermanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-parametermanager/README.md b/java-parametermanager/README.md index 3d47eb712cb4..6c80aa48e9b1 100644 --- a/java-parametermanager/README.md +++ b/java-parametermanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-parametermanager - 0.32.0 + 0.33.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-parametermanager:0.32.0' +implementation 'com.google.cloud:google-cloud-parametermanager:0.33.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.32.0" +libraryDependencies += "com.google.cloud" % "google-cloud-parametermanager" % "0.33.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-parametermanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-parametermanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.32.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-parametermanager/0.33.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-parametermanager/google-cloud-parametermanager/src/main/java/com/google/cloud/parametermanager/v1/stub/Version.java b/java-parametermanager/google-cloud-parametermanager/src/main/java/com/google/cloud/parametermanager/v1/stub/Version.java index f6ae2e780198..f0924dd56fcc 100644 --- a/java-parametermanager/google-cloud-parametermanager/src/main/java/com/google/cloud/parametermanager/v1/stub/Version.java +++ b/java-parametermanager/google-cloud-parametermanager/src/main/java/com/google/cloud/parametermanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-parametermanager:current} - static final String VERSION = "0.33.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-phishingprotection/.OwlBot-hermetic.yaml b/java-phishingprotection/.OwlBot-hermetic.yaml index 3a6d488687a2..82020197adb7 100644 --- a/java-phishingprotection/.OwlBot-hermetic.yaml +++ b/java-phishingprotection/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-phishingprotection/google-.*/src" deep-preserve-regex: +- "/java-phishingprotection/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-phishingprotection/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-phishingprotection/README.md b/java-phishingprotection/README.md index 8e31d7de92a4..59eb00c788c3 100644 --- a/java-phishingprotection/README.md +++ b/java-phishingprotection/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-phishingprotection - 0.119.0 + 0.120.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-phishingprotection:0.119.0' +implementation 'com.google.cloud:google-cloud-phishingprotection:0.120.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.119.0" +libraryDependencies += "com.google.cloud" % "google-cloud-phishingprotection" % "0.120.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-phishingprotection/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-phishingprotection.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.119.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-phishingprotection/0.120.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/Version.java b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/Version.java index 128f66fae95f..01352f98f52f 100644 --- a/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/Version.java +++ b/java-phishingprotection/google-cloud-phishingprotection/src/main/java/com/google/cloud/phishingprotection/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-phishingprotection:current} - static final String VERSION = "0.120.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-policy-troubleshooter/.OwlBot-hermetic.yaml b/java-policy-troubleshooter/.OwlBot-hermetic.yaml index 59332efef862..7f27983232eb 100644 --- a/java-policy-troubleshooter/.OwlBot-hermetic.yaml +++ b/java-policy-troubleshooter/.OwlBot-hermetic.yaml @@ -24,6 +24,7 @@ deep-remove-regex: - "/java-policy-troubleshooter/iam/google-.*/src" deep-preserve-regex: +- "/java-policy-troubleshooter/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-policy-troubleshooter/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-policy-troubleshooter/README.md b/java-policy-troubleshooter/README.md index f28d96f3b131..b880a0e914d6 100644 --- a/java-policy-troubleshooter/README.md +++ b/java-policy-troubleshooter/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policy-troubleshooter - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.87.0' +implementation 'com.google.cloud:google-cloud-policy-troubleshooter:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policy-troubleshooter" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-policy-troubleshooter/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policy-troubleshooter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policy-troubleshooter/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/iam/v3/stub/Version.java b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/iam/v3/stub/Version.java index cf3a5e4e3950..d9643636d6e3 100644 --- a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/iam/v3/stub/Version.java +++ b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/iam/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-policy-troubleshooter:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/v1/stub/Version.java b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/v1/stub/Version.java index ed9ecb04303f..141ab1c2dbff 100644 --- a/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/v1/stub/Version.java +++ b/java-policy-troubleshooter/google-cloud-policy-troubleshooter/src/main/java/com/google/cloud/policytroubleshooter/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-policy-troubleshooter:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-policysimulator/.OwlBot-hermetic.yaml b/java-policysimulator/.OwlBot-hermetic.yaml index f7d95f431009..3e783c85610f 100644 --- a/java-policysimulator/.OwlBot-hermetic.yaml +++ b/java-policysimulator/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-policysimulator/samples/snippets/generated" deep-preserve-regex: +- "/java-policysimulator/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-policysimulator/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-policysimulator/README.md b/java-policysimulator/README.md index f0c220a3dd7e..26515ffa107b 100644 --- a/java-policysimulator/README.md +++ b/java-policysimulator/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-policysimulator - 0.67.0 + 0.68.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-policysimulator:0.67.0' +implementation 'com.google.cloud:google-cloud-policysimulator:0.68.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.67.0" +libraryDependencies += "com.google.cloud" % "google-cloud-policysimulator" % "0.68.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-policysimulator/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-policysimulator.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.67.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-policysimulator/0.68.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-policysimulator/google-cloud-policysimulator/src/main/java/com/google/cloud/policysimulator/v1/stub/Version.java b/java-policysimulator/google-cloud-policysimulator/src/main/java/com/google/cloud/policysimulator/v1/stub/Version.java index 484853bbf467..76cd48803be5 100644 --- a/java-policysimulator/google-cloud-policysimulator/src/main/java/com/google/cloud/policysimulator/v1/stub/Version.java +++ b/java-policysimulator/google-cloud-policysimulator/src/main/java/com/google/cloud/policysimulator/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-policysimulator:current} - static final String VERSION = "0.68.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-private-catalog/README.md b/java-private-catalog/README.md index 329bee8b2066..c199b19766e6 100644 --- a/java-private-catalog/README.md +++ b/java-private-catalog/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-private-catalog - 0.90.0 + 0.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-private-catalog:0.90.0' +implementation 'com.google.cloud:google-cloud-private-catalog:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-private-catalog" % "0.91.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-private-catalog/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-private-catalog.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-private-catalog/0.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/stub/Version.java b/java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/stub/Version.java index 163a343c23b8..93ac94add592 100644 --- a/java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/stub/Version.java +++ b/java-private-catalog/google-cloud-private-catalog/src/main/java/com/google/cloud/privatecatalog/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-private-catalog:current} - static final String VERSION = "0.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-privilegedaccessmanager/.OwlBot-hermetic.yaml b/java-privilegedaccessmanager/.OwlBot-hermetic.yaml index 8f4403e6bbd9..4146a5fddd2a 100644 --- a/java-privilegedaccessmanager/.OwlBot-hermetic.yaml +++ b/java-privilegedaccessmanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-privilegedaccessmanager/samples/snippets/generated" deep-preserve-regex: +- "/java-privilegedaccessmanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-privilegedaccessmanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-privilegedaccessmanager/README.md b/java-privilegedaccessmanager/README.md index e822780e3662..b46d56809556 100644 --- a/java-privilegedaccessmanager/README.md +++ b/java-privilegedaccessmanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-privilegedaccessmanager - 0.42.0 + 0.43.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.42.0' +implementation 'com.google.cloud:google-cloud-privilegedaccessmanager:0.43.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.42.0" +libraryDependencies += "com.google.cloud" % "google-cloud-privilegedaccessmanager" % "0.43.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-privilegedaccessmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-privilegedaccessmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.42.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-privilegedaccessmanager/0.43.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-privilegedaccessmanager/google-cloud-privilegedaccessmanager/src/main/java/com/google/cloud/privilegedaccessmanager/v1/stub/Version.java b/java-privilegedaccessmanager/google-cloud-privilegedaccessmanager/src/main/java/com/google/cloud/privilegedaccessmanager/v1/stub/Version.java index 52bfeb300636..8831297238d9 100644 --- a/java-privilegedaccessmanager/google-cloud-privilegedaccessmanager/src/main/java/com/google/cloud/privilegedaccessmanager/v1/stub/Version.java +++ b/java-privilegedaccessmanager/google-cloud-privilegedaccessmanager/src/main/java/com/google/cloud/privilegedaccessmanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-privilegedaccessmanager:current} - static final String VERSION = "0.43.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-profiler/.OwlBot-hermetic.yaml b/java-profiler/.OwlBot-hermetic.yaml index 80776a92f7bc..dff7d3ff9f34 100644 --- a/java-profiler/.OwlBot-hermetic.yaml +++ b/java-profiler/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-profiler/samples/snippets/generated" deep-preserve-regex: +- "/java-profiler/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-profiler/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-profiler/README.md b/java-profiler/README.md index 2be68f47fa5a..875b7b59f64c 100644 --- a/java-profiler/README.md +++ b/java-profiler/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-profiler - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-profiler:2.88.0' +implementation 'com.google.cloud:google-cloud-profiler:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-profiler" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-profiler/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-profiler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-profiler/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-profiler/google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/Version.java b/java-profiler/google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/Version.java index d3f96da90091..4473e631dc71 100644 --- a/java-profiler/google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/Version.java +++ b/java-profiler/google-cloud-profiler/src/main/java/com/google/devtools/cloudprofiler/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-profiler:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-publicca/.OwlBot-hermetic.yaml b/java-publicca/.OwlBot-hermetic.yaml index 4ad1c0a1b3c3..c6e338d08cd2 100644 --- a/java-publicca/.OwlBot-hermetic.yaml +++ b/java-publicca/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-publicca/samples/snippets/generated" deep-preserve-regex: +- "/java-publicca/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-publicca/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-publicca/README.md b/java-publicca/README.md index a41785a97d28..d81abbf325e3 100644 --- a/java-publicca/README.md +++ b/java-publicca/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-publicca - 0.85.0 + 0.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-publicca:0.85.0' +implementation 'com.google.cloud:google-cloud-publicca:0.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-publicca" % "0.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-publicca/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-publicca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-publicca/0.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1/stub/Version.java b/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1/stub/Version.java index 3cdf2d815be0..b518ca66e07c 100644 --- a/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1/stub/Version.java +++ b/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-publicca:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1beta1/stub/Version.java b/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1beta1/stub/Version.java index 6ffc2d2fe2c3..fd7993338dd8 100644 --- a/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1beta1/stub/Version.java +++ b/java-publicca/google-cloud-publicca/src/main/java/com/google/cloud/security/publicca/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-publicca:current} - static final String VERSION = "0.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-rapidmigrationassessment/.OwlBot-hermetic.yaml b/java-rapidmigrationassessment/.OwlBot-hermetic.yaml index 6ebc94376c5c..426f9c00ea88 100644 --- a/java-rapidmigrationassessment/.OwlBot-hermetic.yaml +++ b/java-rapidmigrationassessment/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-rapidmigrationassessment/samples/snippets/generated" deep-preserve-regex: +- "/java-rapidmigrationassessment/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-rapidmigrationassessment/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-rapidmigrationassessment/README.md b/java-rapidmigrationassessment/README.md index fcc974b42e9c..678b39c92967 100644 --- a/java-rapidmigrationassessment/README.md +++ b/java-rapidmigrationassessment/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-rapidmigrationassessment - 0.71.0 + 0.72.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.71.0' +implementation 'com.google.cloud:google-cloud-rapidmigrationassessment:0.72.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.71.0" +libraryDependencies += "com.google.cloud" % "google-cloud-rapidmigrationassessment" % "0.72.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-rapidmigrationassessment/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-rapidmigrationassessment.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.71.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-rapidmigrationassessment/0.72.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-rapidmigrationassessment/google-cloud-rapidmigrationassessment/src/main/java/com/google/cloud/rapidmigrationassessment/v1/stub/Version.java b/java-rapidmigrationassessment/google-cloud-rapidmigrationassessment/src/main/java/com/google/cloud/rapidmigrationassessment/v1/stub/Version.java index fe0a3fabb540..ab563bc02e15 100644 --- a/java-rapidmigrationassessment/google-cloud-rapidmigrationassessment/src/main/java/com/google/cloud/rapidmigrationassessment/v1/stub/Version.java +++ b/java-rapidmigrationassessment/google-cloud-rapidmigrationassessment/src/main/java/com/google/cloud/rapidmigrationassessment/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-rapidmigrationassessment:current} - static final String VERSION = "0.72.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-recaptchaenterprise/.OwlBot-hermetic.yaml b/java-recaptchaenterprise/.OwlBot-hermetic.yaml index 21453b9228af..bc216ba11d73 100644 --- a/java-recaptchaenterprise/.OwlBot-hermetic.yaml +++ b/java-recaptchaenterprise/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-recaptchaenterprise/google-.*/src" deep-preserve-regex: +- "/java-recaptchaenterprise/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-recaptchaenterprise/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-recaptchaenterprise/README.md b/java-recaptchaenterprise/README.md index 1c0d3e25b183..ee9ecdbed8ac 100644 --- a/java-recaptchaenterprise/README.md +++ b/java-recaptchaenterprise/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recaptchaenterprise - 3.85.0 + 3.86.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.85.0' +implementation 'com.google.cloud:google-cloud-recaptchaenterprise:3.86.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.85.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recaptchaenterprise" % "3.86.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recaptchaenterprise/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recaptchaenterprise.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.85.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recaptchaenterprise/3.86.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1/stub/Version.java b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1/stub/Version.java index ae32ba0ed01c..f13c6b411d10 100644 --- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1/stub/Version.java +++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-recaptchaenterprise:current} - static final String VERSION = "3.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1beta1/stub/Version.java b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1beta1/stub/Version.java index e5dab1445d30..7c0746f76a0e 100644 --- a/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1beta1/stub/Version.java +++ b/java-recaptchaenterprise/google-cloud-recaptchaenterprise/src/main/java/com/google/cloud/recaptchaenterprise/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-recaptchaenterprise:current} - static final String VERSION = "3.86.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-recommendations-ai/.OwlBot-hermetic.yaml b/java-recommendations-ai/.OwlBot-hermetic.yaml index 5543b204a570..7b18fb27d7e1 100644 --- a/java-recommendations-ai/.OwlBot-hermetic.yaml +++ b/java-recommendations-ai/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-recommendations-ai/google-.*/src" deep-preserve-regex: +- "/java-recommendations-ai/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-recommendations-ai/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-recommendations-ai/README.md b/java-recommendations-ai/README.md index db7eea8e885d..50d85772f03f 100644 --- a/java-recommendations-ai/README.md +++ b/java-recommendations-ai/README.md @@ -46,20 +46,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommendations-ai - 0.95.0 + 0.96.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommendations-ai:0.95.0' +implementation 'com.google.cloud:google-cloud-recommendations-ai:0.96.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.95.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommendations-ai" % "0.96.0" ``` ## Authentication @@ -182,7 +182,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recommendations-ai/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommendations-ai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.95.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommendations-ai/0.96.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/Version.java b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/Version.java index f0a7d7fd3f8f..aba7225010d7 100644 --- a/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/Version.java +++ b/java-recommendations-ai/google-cloud-recommendations-ai/src/main/java/com/google/cloud/recommendationengine/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-recommendations-ai:current} - static final String VERSION = "0.96.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-recommender/.OwlBot-hermetic.yaml b/java-recommender/.OwlBot-hermetic.yaml index 45a48b96a293..e0ebbdd5ca23 100644 --- a/java-recommender/.OwlBot-hermetic.yaml +++ b/java-recommender/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-recommender/google-.*/src" deep-preserve-regex: +- "/java-recommender/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-recommender/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-recommender/README.md b/java-recommender/README.md index da5490342bda..13516a4edf8b 100644 --- a/java-recommender/README.md +++ b/java-recommender/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-recommender - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-recommender:2.90.0' +implementation 'com.google.cloud:google-cloud-recommender:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-recommender" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-recommender/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-recommender.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-recommender/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/stub/Version.java b/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/stub/Version.java index 8737f53a9664..1e41e5aae641 100644 --- a/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/stub/Version.java +++ b/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-recommender:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1beta1/stub/Version.java b/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1beta1/stub/Version.java index 4978929cbf37..b31195323aa2 100644 --- a/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1beta1/stub/Version.java +++ b/java-recommender/google-cloud-recommender/src/main/java/com/google/cloud/recommender/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-recommender:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-redis-cluster/.OwlBot-hermetic.yaml b/java-redis-cluster/.OwlBot-hermetic.yaml index 5c7b69d775ca..0cc46dedbb60 100644 --- a/java-redis-cluster/.OwlBot-hermetic.yaml +++ b/java-redis-cluster/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-redis-cluster/samples/snippets/generated" deep-preserve-regex: +- "/java-redis-cluster/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-redis-cluster/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-redis-cluster/README.md b/java-redis-cluster/README.md index ce263eb40d12..83d7301c0f06 100644 --- a/java-redis-cluster/README.md +++ b/java-redis-cluster/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis-cluster - 0.60.0 + 0.61.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis-cluster:0.60.0' +implementation 'com.google.cloud:google-cloud-redis-cluster:0.61.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.60.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis-cluster" % "0.61.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-redis-cluster/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis-cluster.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.60.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis-cluster/0.61.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1/stub/Version.java b/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1/stub/Version.java index 7f6d0403b089..5ed38ac03dbc 100644 --- a/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1/stub/Version.java +++ b/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-redis-cluster:current} - static final String VERSION = "0.61.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1beta1/stub/Version.java b/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1beta1/stub/Version.java index 7d1c9c3e5b7a..cdf3c1a9eaa4 100644 --- a/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1beta1/stub/Version.java +++ b/java-redis-cluster/google-cloud-redis-cluster/src/main/java/com/google/cloud/redis/cluster/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-redis-cluster:current} - static final String VERSION = "0.61.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-redis/.OwlBot-hermetic.yaml b/java-redis/.OwlBot-hermetic.yaml index 5c1ce263986d..97f7c8de5fc0 100644 --- a/java-redis/.OwlBot-hermetic.yaml +++ b/java-redis/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-redis/google-.*/src" deep-preserve-regex: +- "/java-redis/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-redis/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-redis/README.md b/java-redis/README.md index 682a0ea30499..3829a2719f8b 100644 --- a/java-redis/README.md +++ b/java-redis/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-redis - 2.91.0 + 2.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-redis:2.91.0' +implementation 'com.google.cloud:google-cloud-redis:2.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-redis" % "2.92.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-redis/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-redis.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-redis/2.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/Version.java b/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/Version.java index 20ee3f34c08e..bf1c71d264dc 100644 --- a/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/Version.java +++ b/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-redis:current} - static final String VERSION = "2.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/Version.java b/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/Version.java index a2642dfaef3c..f2b830846a95 100644 --- a/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/Version.java +++ b/java-redis/google-cloud-redis/src/main/java/com/google/cloud/redis/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-redis:current} - static final String VERSION = "2.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index 90c33256ea5d..f65f56ad7b97 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-resourcemanager - 1.90.0 + 1.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-resourcemanager:1.90.0' +implementation 'com.google.cloud:google-cloud-resourcemanager:1.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-resourcemanager" % "1.91.0" ``` ## Authentication @@ -316,7 +316,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-resourcemanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-resourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-resourcemanager/1.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/Version.java b/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/Version.java index 3ec586290ad2..d93d65d9449e 100644 --- a/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/Version.java +++ b/java-resourcemanager/google-cloud-resourcemanager/src/main/java/com/google/cloud/resourcemanager/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-resourcemanager:current} - static final String VERSION = "1.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-retail/.OwlBot-hermetic.yaml b/java-retail/.OwlBot-hermetic.yaml index b4c0d914e966..36c10ead9aa3 100644 --- a/java-retail/.OwlBot-hermetic.yaml +++ b/java-retail/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-retail/google-.*/src" deep-preserve-regex: +- "/java-retail/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-retail/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-retail/README.md b/java-retail/README.md index 1fece3c228ff..b048512d3b9a 100644 --- a/java-retail/README.md +++ b/java-retail/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-retail - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-retail:2.90.0' +implementation 'com.google.cloud:google-cloud-retail:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-retail" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-retail/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-retail.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-retail/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/Version.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/Version.java index 1d6b3edd16a0..dbe72e2d9f80 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/Version.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-retail:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/Version.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/Version.java index cf7d0f28d9cc..647ae00b204d 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/Version.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-retail:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/stub/Version.java b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/stub/Version.java index 65e08f6f714c..59909a829a7d 100644 --- a/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/stub/Version.java +++ b/java-retail/google-cloud-retail/src/main/java/com/google/cloud/retail/v2beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-retail:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-run/.OwlBot-hermetic.yaml b/java-run/.OwlBot-hermetic.yaml index 55e292b0e443..db156bed440c 100644 --- a/java-run/.OwlBot-hermetic.yaml +++ b/java-run/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-run/google-.*/src" deep-preserve-regex: +- "/java-run/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-run/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-run/README.md b/java-run/README.md index e4a1787e9c49..89447b019303 100644 --- a/java-run/README.md +++ b/java-run/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-run - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-run:0.88.0' +implementation 'com.google.cloud:google-cloud-run:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-run" % "0.89.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-run/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-run.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-run/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/Version.java b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/Version.java index f8c0e0011113..a55e40b3a2cc 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/Version.java +++ b/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-run:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-saasservicemgmt/.OwlBot-hermetic.yaml b/java-saasservicemgmt/.OwlBot-hermetic.yaml index 4d9c39b3550c..56636308af84 100644 --- a/java-saasservicemgmt/.OwlBot-hermetic.yaml +++ b/java-saasservicemgmt/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-saasservicemgmt/samples/snippets/generated" deep-preserve-regex: +- "/java-saasservicemgmt/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-saasservicemgmt/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-saasservicemgmt/README.md b/java-saasservicemgmt/README.md index db4d3e6204f8..4d9676b69127 100644 --- a/java-saasservicemgmt/README.md +++ b/java-saasservicemgmt/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-saasservicemgmt - 0.18.0 + 0.19.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.18.0' +implementation 'com.google.cloud:google-cloud-saasservicemgmt:0.19.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.18.0" +libraryDependencies += "com.google.cloud" % "google-cloud-saasservicemgmt" % "0.19.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-saasservicemgmt/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-saasservicemgmt.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.18.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-saasservicemgmt/0.19.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/stub/Version.java b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/stub/Version.java index 524885cef720..fe99db085c82 100644 --- a/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/stub/Version.java +++ b/java-saasservicemgmt/google-cloud-saasservicemgmt/src/main/java/com/google/cloud/saasplatform/saasservicemgmt/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-saasservicemgmt:current} - static final String VERSION = "0.19.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-scheduler/.OwlBot-hermetic.yaml b/java-scheduler/.OwlBot-hermetic.yaml index 7eecb8d50138..14d11caeefb2 100644 --- a/java-scheduler/.OwlBot-hermetic.yaml +++ b/java-scheduler/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-scheduler/google-.*/src" deep-preserve-regex: +- "/java-scheduler/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-scheduler/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-scheduler/proto-google-cloud-scheduler-v1/src/main/java/com/google/cloud/scheduler/v1/ProjectName.java" - "/java-scheduler/proto-google-cloud-scheduler-v1beta1/src/main/java/com/google/cloud/scheduler/v1beta1/ProjectName.java" diff --git a/java-scheduler/README.md b/java-scheduler/README.md index 8d5feda70e96..8d176936f474 100644 --- a/java-scheduler/README.md +++ b/java-scheduler/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-scheduler - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.88.0' +implementation 'com.google.cloud:google-cloud-scheduler:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-scheduler/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-scheduler.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-scheduler/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/Version.java b/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/Version.java index 7e76bd34a6d8..270fac1cd589 100644 --- a/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/Version.java +++ b/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-scheduler:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/Version.java b/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/Version.java index 8ed34e838ebc..9915a581e437 100644 --- a/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/Version.java +++ b/java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-scheduler:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-secretmanager/.OwlBot-hermetic.yaml b/java-secretmanager/.OwlBot-hermetic.yaml index ff10158479a3..37d0fa995331 100644 --- a/java-secretmanager/.OwlBot-hermetic.yaml +++ b/java-secretmanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-secretmanager/google-.*/src" deep-preserve-regex: +- "/java-secretmanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-secretmanager/google-.*/src/test/java/com/google/cloud/.*/v1/it/IT.*Test.java" - "/java-secretmanager/proto-google-cloud-secretmanager-v1/src/main/java/com/google/cloud/secretmanager/v1/TopicName.java" diff --git a/java-secretmanager/README.md b/java-secretmanager/README.md index 6ec222ce8edd..2068f86f210d 100644 --- a/java-secretmanager/README.md +++ b/java-secretmanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-secretmanager - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-secretmanager:2.88.0' +implementation 'com.google.cloud:google-cloud-secretmanager:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-secretmanager" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-secretmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-secretmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-secretmanager/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/stub/Version.java b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/stub/Version.java index 4bb15f9ee149..d10719493243 100644 --- a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/stub/Version.java +++ b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-secretmanager:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta1/stub/Version.java b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta1/stub/Version.java index 29f7aad2a634..20d5d4544f5f 100644 --- a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta1/stub/Version.java +++ b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-secretmanager:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta2/stub/Version.java b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta2/stub/Version.java index 218cc9001400..91783e480f8b 100644 --- a/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta2/stub/Version.java +++ b/java-secretmanager/google-cloud-secretmanager/src/main/java/com/google/cloud/secretmanager/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-secretmanager:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securesourcemanager/.OwlBot-hermetic.yaml b/java-securesourcemanager/.OwlBot-hermetic.yaml index eef3dd9ebf2b..715e5cc93582 100644 --- a/java-securesourcemanager/.OwlBot-hermetic.yaml +++ b/java-securesourcemanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-securesourcemanager/samples/snippets/generated" deep-preserve-regex: +- "/java-securesourcemanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-securesourcemanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-securesourcemanager/README.md b/java-securesourcemanager/README.md index 6212f2e2a9e1..8cd4da4a21d0 100644 --- a/java-securesourcemanager/README.md +++ b/java-securesourcemanager/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securesourcemanager - 0.58.0 + 0.59.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securesourcemanager:0.58.0' +implementation 'com.google.cloud:google-cloud-securesourcemanager:0.59.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securesourcemanager" % "0.59.0" ``` ## Authentication @@ -176,7 +176,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securesourcemanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securesourcemanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.58.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securesourcemanager/0.59.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securesourcemanager/google-cloud-securesourcemanager/src/main/java/com/google/cloud/securesourcemanager/v1/stub/Version.java b/java-securesourcemanager/google-cloud-securesourcemanager/src/main/java/com/google/cloud/securesourcemanager/v1/stub/Version.java index fc169e584c0d..4fa8a6038fdb 100644 --- a/java-securesourcemanager/google-cloud-securesourcemanager/src/main/java/com/google/cloud/securesourcemanager/v1/stub/Version.java +++ b/java-securesourcemanager/google-cloud-securesourcemanager/src/main/java/com/google/cloud/securesourcemanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securesourcemanager:current} - static final String VERSION = "0.59.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-security-private-ca/README.md b/java-security-private-ca/README.md index 4d21e11e6d01..93d740436636 100644 --- a/java-security-private-ca/README.md +++ b/java-security-private-ca/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-security-private-ca - 2.90.0 + 2.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-security-private-ca:2.90.0' +implementation 'com.google.cloud:google-cloud-security-private-ca:2.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-security-private-ca" % "2.91.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-security-private-ca/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-security-private-ca.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-security-private-ca/2.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/stub/Version.java b/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/stub/Version.java index 7315a1579897..cf402470c63d 100644 --- a/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/stub/Version.java +++ b/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-security-private-ca:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/stub/Version.java b/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/stub/Version.java index c987088b4172..7eef15aef2e2 100644 --- a/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/stub/Version.java +++ b/java-security-private-ca/google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-security-private-ca:current} - static final String VERSION = "2.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycenter-settings/.OwlBot-hermetic.yaml b/java-securitycenter-settings/.OwlBot-hermetic.yaml index c277b69faed5..9338e5bc244f 100644 --- a/java-securitycenter-settings/.OwlBot-hermetic.yaml +++ b/java-securitycenter-settings/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-securitycenter-settings/samples/snippets/generated" deep-preserve-regex: +- "/java-securitycenter-settings/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-securitycenter-settings/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-securitycenter-settings/README.md b/java-securitycenter-settings/README.md index 2050e2325ed9..4e0fcd6365fa 100644 --- a/java-securitycenter-settings/README.md +++ b/java-securitycenter-settings/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter-settings - 0.91.0 + 0.92.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.91.0' +implementation 'com.google.cloud:google-cloud-securitycenter-settings:0.92.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.91.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter-settings" % "0.92.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycenter-settings/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter-settings.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.91.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter-settings/0.92.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter-settings/google-cloud-securitycenter-settings/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/stub/Version.java b/java-securitycenter-settings/google-cloud-securitycenter-settings/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/stub/Version.java index 50c59c90ab4a..85e99e1db079 100644 --- a/java-securitycenter-settings/google-cloud-securitycenter-settings/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/stub/Version.java +++ b/java-securitycenter-settings/google-cloud-securitycenter-settings/src/main/java/com/google/cloud/securitycenter/settings/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycenter-settings:current} - static final String VERSION = "0.92.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycenter/.OwlBot-hermetic.yaml b/java-securitycenter/.OwlBot-hermetic.yaml index 1f0dae8f99a5..47f9995243f3 100644 --- a/java-securitycenter/.OwlBot-hermetic.yaml +++ b/java-securitycenter/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-securitycenter/google-.*/src" deep-preserve-regex: +- "/java-securitycenter/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-securitycenter/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/UntypedSecuritymarksName.java" - "/java-securitycenter/proto-google-cloud-securitycenter-v1beta1/src/main/java/com/google/cloud/securitycenter/v1beta1/SecuritymarksNames.java" diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md index eec6de6a21f2..1fc7b269d2a2 100644 --- a/java-securitycenter/README.md +++ b/java-securitycenter/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.96.0 + 2.97.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycenter:2.96.0' +implementation 'com.google.cloud:google-cloud-securitycenter:2.97.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.96.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.97.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycenter/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycenter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.96.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycenter/2.97.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/Version.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/Version.java index f558c96e5739..4dcd477b6c4b 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/Version.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycenter:current} - static final String VERSION = "2.97.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/Version.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/Version.java index 1ee1f317a762..a6333b407395 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/Version.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycenter:current} - static final String VERSION = "2.97.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/Version.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/Version.java index 653ebcf501f6..6982fb6d3e14 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/Version.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycenter:current} - static final String VERSION = "2.97.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v2/stub/Version.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v2/stub/Version.java index 3b3f92f957bf..e219e172920d 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v2/stub/Version.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycenter:current} - static final String VERSION = "2.97.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securitycentermanagement/.OwlBot-hermetic.yaml b/java-securitycentermanagement/.OwlBot-hermetic.yaml index 1a2e4b597259..150ac1859009 100644 --- a/java-securitycentermanagement/.OwlBot-hermetic.yaml +++ b/java-securitycentermanagement/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-securitycentermanagement/samples/snippets/generated" deep-preserve-regex: +- "/java-securitycentermanagement/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-securitycentermanagement/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-securitycentermanagement/README.md b/java-securitycentermanagement/README.md index c30137a76feb..04676481c29e 100644 --- a/java-securitycentermanagement/README.md +++ b/java-securitycentermanagement/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securitycentermanagement - 0.56.0 + 0.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.56.0' +implementation 'com.google.cloud:google-cloud-securitycentermanagement:0.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycentermanagement" % "0.57.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securitycentermanagement/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securitycentermanagement.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securitycentermanagement/0.57.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/stub/Version.java b/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/stub/Version.java index c46e5744401c..57fb6e69c360 100644 --- a/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/stub/Version.java +++ b/java-securitycentermanagement/google-cloud-securitycentermanagement/src/main/java/com/google/cloud/securitycentermanagement/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securitycentermanagement:current} - static final String VERSION = "0.57.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-securityposture/.OwlBot-hermetic.yaml b/java-securityposture/.OwlBot-hermetic.yaml index cfd403b5c0a9..de9462bea408 100644 --- a/java-securityposture/.OwlBot-hermetic.yaml +++ b/java-securityposture/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-securityposture/samples/snippets/generated" deep-preserve-regex: +- "/java-securityposture/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-securityposture/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-securityposture/README.md b/java-securityposture/README.md index 86183577b22f..043cf2017ce5 100644 --- a/java-securityposture/README.md +++ b/java-securityposture/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-securityposture - 0.53.0 + 0.54.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-securityposture:0.53.0' +implementation 'com.google.cloud:google-cloud-securityposture:0.54.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.53.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securityposture" % "0.54.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-securityposture/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-securityposture.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.53.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-securityposture/0.54.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-securityposture/google-cloud-securityposture/src/main/java/com/google/cloud/securityposture/v1/stub/Version.java b/java-securityposture/google-cloud-securityposture/src/main/java/com/google/cloud/securityposture/v1/stub/Version.java index 14fb822848c3..7003ed8d4efb 100644 --- a/java-securityposture/google-cloud-securityposture/src/main/java/com/google/cloud/securityposture/v1/stub/Version.java +++ b/java-securityposture/google-cloud-securityposture/src/main/java/com/google/cloud/securityposture/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-securityposture:current} - static final String VERSION = "0.54.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-service-control/.OwlBot-hermetic.yaml b/java-service-control/.OwlBot-hermetic.yaml index b7a7bb2e45f9..7600f1466976 100644 --- a/java-service-control/.OwlBot-hermetic.yaml +++ b/java-service-control/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-service-control/samples/snippets/generated" deep-preserve-regex: +- "/java-service-control/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-service-control/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-service-control/README.md b/java-service-control/README.md index d94a8233f6c2..bb7aefd1315b 100644 --- a/java-service-control/README.md +++ b/java-service-control/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-control - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-control:1.88.0' +implementation 'com.google.cloud:google-cloud-service-control:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-control" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-control/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-control.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-control/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v1/stub/Version.java b/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v1/stub/Version.java index 7fd37a0b76a7..77aa5441811c 100644 --- a/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v1/stub/Version.java +++ b/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-service-control:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v2/stub/Version.java b/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v2/stub/Version.java index 616471446813..fe468e1e654f 100644 --- a/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v2/stub/Version.java +++ b/java-service-control/google-cloud-service-control/src/main/java/com/google/api/servicecontrol/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-service-control:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-service-management/.OwlBot-hermetic.yaml b/java-service-management/.OwlBot-hermetic.yaml index b16eb3ac3c5b..ee464e1e682b 100644 --- a/java-service-management/.OwlBot-hermetic.yaml +++ b/java-service-management/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-service-management/samples/snippets/generated" deep-preserve-regex: +- "/java-service-management/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-service-management/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-service-management/google-cloud-service-management/src/test/java/com/google/cloud/api/servicemanagement/v1/ServiceManagerClientHttpJsonTest.java" diff --git a/java-service-management/README.md b/java-service-management/README.md index 39e4d9bab9e4..7790a53d4abf 100644 --- a/java-service-management/README.md +++ b/java-service-management/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-management - 3.86.0 + 3.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-management:3.86.0' +implementation 'com.google.cloud:google-cloud-service-management:3.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-management" % "3.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-management/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-management.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-management/3.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/Version.java b/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/Version.java index 984aeedaa0ae..767fa7a3a918 100644 --- a/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/Version.java +++ b/java-service-management/google-cloud-service-management/src/main/java/com/google/cloud/api/servicemanagement/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-service-management:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-service-usage/README.md b/java-service-usage/README.md index d6bf6ead3efe..10e6ca5ecaf5 100644 --- a/java-service-usage/README.md +++ b/java-service-usage/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-service-usage - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-service-usage:2.88.0' +implementation 'com.google.cloud:google-cloud-service-usage:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-service-usage" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-service-usage/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-service-usage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-service-usage/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/stub/Version.java b/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/stub/Version.java index eb7f574d6bc3..71bb31e2ad13 100644 --- a/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/stub/Version.java +++ b/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-service-usage:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/Version.java b/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/Version.java index adab9286bba8..a8af2dd247af 100644 --- a/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/Version.java +++ b/java-service-usage/google-cloud-service-usage/src/main/java/com/google/api/serviceusage/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-service-usage:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-servicedirectory/README.md b/java-servicedirectory/README.md index 5d84968e3588..fe2effeccc16 100644 --- a/java-servicedirectory/README.md +++ b/java-servicedirectory/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicedirectory - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicedirectory:2.89.0' +implementation 'com.google.cloud:google-cloud-servicedirectory:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicedirectory" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-servicedirectory/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicedirectory.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicedirectory/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1/stub/Version.java b/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1/stub/Version.java index d86132d34d83..e6bdab4b60da 100644 --- a/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1/stub/Version.java +++ b/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-servicedirectory:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/Version.java b/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/Version.java index b10c2f314af8..a7932174574d 100644 --- a/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/Version.java +++ b/java-servicedirectory/google-cloud-servicedirectory/src/main/java/com/google/cloud/servicedirectory/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-servicedirectory:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-servicehealth/.OwlBot-hermetic.yaml b/java-servicehealth/.OwlBot-hermetic.yaml index 6e6b51e795da..5e307f5140e9 100644 --- a/java-servicehealth/.OwlBot-hermetic.yaml +++ b/java-servicehealth/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-servicehealth/samples/snippets/generated" deep-preserve-regex: +- "/java-servicehealth/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-servicehealth/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-servicehealth/README.md b/java-servicehealth/README.md index 0b2b71d1431f..52a0ef26e057 100644 --- a/java-servicehealth/README.md +++ b/java-servicehealth/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-servicehealth - 0.55.0 + 0.56.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-servicehealth:0.55.0' +implementation 'com.google.cloud:google-cloud-servicehealth:0.56.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.55.0" +libraryDependencies += "com.google.cloud" % "google-cloud-servicehealth" % "0.56.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-servicehealth/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-servicehealth.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.55.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-servicehealth/0.56.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-servicehealth/google-cloud-servicehealth/src/main/java/com/google/cloud/servicehealth/v1/stub/Version.java b/java-servicehealth/google-cloud-servicehealth/src/main/java/com/google/cloud/servicehealth/v1/stub/Version.java index a780433cd07b..ebd247fc719d 100644 --- a/java-servicehealth/google-cloud-servicehealth/src/main/java/com/google/cloud/servicehealth/v1/stub/Version.java +++ b/java-servicehealth/google-cloud-servicehealth/src/main/java/com/google/cloud/servicehealth/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-servicehealth:current} - static final String VERSION = "0.56.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shell/README.md b/java-shell/README.md index 2bc2083a34ec..33e21c07d0af 100644 --- a/java-shell/README.md +++ b/java-shell/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-shell - 2.87.0 + 2.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-shell:2.87.0' +implementation 'com.google.cloud:google-cloud-shell:2.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-shell" % "2.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-shell/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-shell.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-shell/2.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shell/google-cloud-shell/src/main/java/com/google/cloud/shell/v1/stub/Version.java b/java-shell/google-cloud-shell/src/main/java/com/google/cloud/shell/v1/stub/Version.java index 9dfd1f2e3893..6f7e0a2b6fab 100644 --- a/java-shell/google-cloud-shell/src/main/java/com/google/cloud/shell/v1/stub/Version.java +++ b/java-shell/google-cloud-shell/src/main/java/com/google/cloud/shell/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-shell:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-css/.OwlBot-hermetic.yaml b/java-shopping-css/.OwlBot-hermetic.yaml index ee0891140016..8ebd5b903395 100644 --- a/java-shopping-css/.OwlBot-hermetic.yaml +++ b/java-shopping-css/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-css/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-css/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-css/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-css/README.md b/java-shopping-css/README.md index 712b5508fe7e..7fb0e4da14be 100644 --- a/java-shopping-css/README.md +++ b/java-shopping-css/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-css - 0.56.0 + 0.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-css:0.56.0' +implementation 'com.google.shopping:google-shopping-css:0.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.56.0" +libraryDependencies += "com.google.shopping" % "google-shopping-css" % "0.57.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-css/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-css.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-css/0.57.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-css/google-shopping-css/src/main/java/com/google/shopping/css/v1/stub/Version.java b/java-shopping-css/google-shopping-css/src/main/java/com/google/shopping/css/v1/stub/Version.java index c8f9e0881e93..24dc413d4fe8 100644 --- a/java-shopping-css/google-shopping-css/src/main/java/com/google/shopping/css/v1/stub/Version.java +++ b/java-shopping-css/google-shopping-css/src/main/java/com/google/shopping/css/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-css:current} - static final String VERSION = "0.57.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-accounts/.OwlBot-hermetic.yaml b/java-shopping-merchant-accounts/.OwlBot-hermetic.yaml index 88b213eca6bd..74e86b7520df 100644 --- a/java-shopping-merchant-accounts/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-accounts/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-accounts/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-accounts/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-accounts/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-accounts/README.md b/java-shopping-merchant-accounts/README.md index 32f44f2f97ca..e6b249dec89a 100644 --- a/java-shopping-merchant-accounts/README.md +++ b/java-shopping-merchant-accounts/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-accounts - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-accounts:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-accounts:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-accounts" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-accounts.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-accounts/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1/stub/Version.java b/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1/stub/Version.java index e1d1f6f92c3b..38d0959fe365 100644 --- a/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1/stub/Version.java +++ b/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-accounts:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1beta/stub/Version.java b/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1beta/stub/Version.java index 83f2e5db398d..687c870c1a8a 100644 --- a/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1beta/stub/Version.java +++ b/java-shopping-merchant-accounts/google-shopping-merchant-accounts/src/main/java/com/google/shopping/merchant/accounts/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-accounts:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-conversions/.OwlBot-hermetic.yaml b/java-shopping-merchant-conversions/.OwlBot-hermetic.yaml index d39eaa52b245..c5e1495d0f56 100644 --- a/java-shopping-merchant-conversions/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-conversions/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-conversions/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-conversions/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-conversions/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-conversions/README.md b/java-shopping-merchant-conversions/README.md index 575a06eeb02a..a0531daee206 100644 --- a/java-shopping-merchant-conversions/README.md +++ b/java-shopping-merchant-conversions/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-conversions - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-conversions:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-conversions:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-conversions" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-conversions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-conversions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-conversions/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1/stub/Version.java b/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1/stub/Version.java index 2c9c86f490fb..944f113d6ff4 100644 --- a/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1/stub/Version.java +++ b/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-conversions:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1beta/stub/Version.java b/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1beta/stub/Version.java index 420b9ccb3ec6..12fa6ba497bc 100644 --- a/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1beta/stub/Version.java +++ b/java-shopping-merchant-conversions/google-shopping-merchant-conversions/src/main/java/com/google/shopping/merchant/conversions/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-conversions:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-datasources/.OwlBot-hermetic.yaml b/java-shopping-merchant-datasources/.OwlBot-hermetic.yaml index 9b5f5dc5f187..eb6e209ea699 100644 --- a/java-shopping-merchant-datasources/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-datasources/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-datasources/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-datasources/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-datasources/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-datasources/README.md b/java-shopping-merchant-datasources/README.md index 27fbd1b5855b..4200abe1557b 100644 --- a/java-shopping-merchant-datasources/README.md +++ b/java-shopping-merchant-datasources/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-datasources - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-datasources:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-datasources:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-datasources" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-datasources/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-datasources.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-datasources/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1/stub/Version.java b/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1/stub/Version.java index b0a7d922ef20..2c72137f5301 100644 --- a/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1/stub/Version.java +++ b/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-datasources:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1beta/stub/Version.java b/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1beta/stub/Version.java index 68a899fe1e92..29f0f3725fa7 100644 --- a/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1beta/stub/Version.java +++ b/java-shopping-merchant-datasources/google-shopping-merchant-datasources/src/main/java/com/google/shopping/merchant/datasources/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-datasources:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-inventories/.OwlBot-hermetic.yaml b/java-shopping-merchant-inventories/.OwlBot-hermetic.yaml index 50236b200274..5ce7e31f6cbb 100644 --- a/java-shopping-merchant-inventories/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-inventories/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-inventories/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-inventories/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-inventories/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-inventories/README.md b/java-shopping-merchant-inventories/README.md index 8c973a091038..8ad8ac491b72 100644 --- a/java-shopping-merchant-inventories/README.md +++ b/java-shopping-merchant-inventories/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-inventories - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-inventories:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-inventories:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-inventories" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-inventories/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-inventories.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-inventories/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1/stub/Version.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1/stub/Version.java index 430ed2912993..0357a5fa4574 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1/stub/Version.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-inventories:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/Version.java b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/Version.java index 7ff90b9b151f..fae5d294714d 100644 --- a/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/Version.java +++ b/java-shopping-merchant-inventories/google-shopping-merchant-inventories/src/main/java/com/google/shopping/merchant/inventories/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-inventories:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-lfp/.OwlBot-hermetic.yaml b/java-shopping-merchant-lfp/.OwlBot-hermetic.yaml index d52c2dc79904..4391009bc06f 100644 --- a/java-shopping-merchant-lfp/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-lfp/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-lfp/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-lfp/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-lfp/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-lfp/README.md b/java-shopping-merchant-lfp/README.md index ad451cb2c9f7..f9a263bb0561 100644 --- a/java-shopping-merchant-lfp/README.md +++ b/java-shopping-merchant-lfp/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-lfp - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-lfp:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-lfp:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-lfp" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-lfp/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-lfp.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-lfp/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1/stub/Version.java b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1/stub/Version.java index d0d58a7559ab..0fe907653628 100644 --- a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1/stub/Version.java +++ b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-lfp:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1beta/stub/Version.java b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1beta/stub/Version.java index cd4f3c95da0a..397ad176986c 100644 --- a/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1beta/stub/Version.java +++ b/java-shopping-merchant-lfp/google-shopping-merchant-lfp/src/main/java/com/google/shopping/merchant/lfp/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-lfp:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-notifications/.OwlBot-hermetic.yaml b/java-shopping-merchant-notifications/.OwlBot-hermetic.yaml index 12a56a2d6063..8597df09737b 100644 --- a/java-shopping-merchant-notifications/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-notifications/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-notifications/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-notifications/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-notifications/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-notifications/README.md b/java-shopping-merchant-notifications/README.md index 56730d841812..576344641916 100644 --- a/java-shopping-merchant-notifications/README.md +++ b/java-shopping-merchant-notifications/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-notifications - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-notifications:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-notifications:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-notifications/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-notifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1/stub/Version.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1/stub/Version.java index e63fd0e813c1..064f49b63d8c 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1/stub/Version.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-notifications:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/Version.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/Version.java index 0f0a2b9e9ca3..fdea0bd9194e 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/Version.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-notifications:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-product-studio/.OwlBot-hermetic.yaml b/java-shopping-merchant-product-studio/.OwlBot-hermetic.yaml index fc5f970ba6df..d6ec5dc40aff 100644 --- a/java-shopping-merchant-product-studio/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-product-studio/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-product-studio/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-product-studio/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-product-studio/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-product-studio/README.md b/java-shopping-merchant-product-studio/README.md index 0e61bc183178..1e511c86902e 100644 --- a/java-shopping-merchant-product-studio/README.md +++ b/java-shopping-merchant-product-studio/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-productstudio - 0.28.0 + 0.29.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.28.0' +implementation 'com.google.shopping:google-shopping-merchant-productstudio:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.28.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-productstudio" % "0.29.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-productstudio.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-productstudio/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-product-studio/google-shopping-merchant-productstudio/src/main/java/com/google/shopping/merchant/productstudio/v1alpha/stub/Version.java b/java-shopping-merchant-product-studio/google-shopping-merchant-productstudio/src/main/java/com/google/shopping/merchant/productstudio/v1alpha/stub/Version.java index f7ecc6f4e2f7..9ee861ebaf0e 100644 --- a/java-shopping-merchant-product-studio/google-shopping-merchant-productstudio/src/main/java/com/google/shopping/merchant/productstudio/v1alpha/stub/Version.java +++ b/java-shopping-merchant-product-studio/google-shopping-merchant-productstudio/src/main/java/com/google/shopping/merchant/productstudio/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-productstudio:current} - static final String VERSION = "0.29.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-products/.OwlBot-hermetic.yaml b/java-shopping-merchant-products/.OwlBot-hermetic.yaml index 7c93c77676bf..48ff269a2d5d 100644 --- a/java-shopping-merchant-products/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-products/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-products/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-products/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-products/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-products/README.md b/java-shopping-merchant-products/README.md index 47005bb41700..cf526a106f08 100644 --- a/java-shopping-merchant-products/README.md +++ b/java-shopping-merchant-products/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-products - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-products:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-products:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-products" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-products.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-products/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClient.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClient.java index a2cc9a0dfedc..ebdc6573672b 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClient.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClient.java @@ -462,8 +462,9 @@ public final UnaryCallable updateProduc * `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of * the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the `{productInput}` segment - * must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full - * resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * must be the unpadded base64url encoding of this string, which is `ZW5-VVN-c2t1LzEyMw`. The + * full resource name for the product would be + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. *

    2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string `content_language~feed_label~offer_id`. This format is suitable only when * `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters @@ -472,9 +473,6 @@ public final UnaryCallable updateProduc * correct parsing, especially those containing special characters. The presence of tilde * (`~`) characters in the `{productInput}` segment is used to differentiate between the two * formats. - *

    Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteProductInput(ProductInputName name) { @@ -521,8 +519,9 @@ public final void deleteProductInput(ProductInputName name) { * `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of * the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the `{productInput}` segment - * must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full - * resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * must be the unpadded base64url encoding of this string, which is `ZW5-VVN-c2t1LzEyMw`. The + * full resource name for the product would be + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. *

    2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string `content_language~feed_label~offer_id`. This format is suitable only when * `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters @@ -531,9 +530,6 @@ public final void deleteProductInput(ProductInputName name) { * correct parsing, especially those containing special characters. The presence of tilde * (`~`) characters in the `{productInput}` segment is used to differentiate between the two * formats. - *

    Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteProductInput(String name) { diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductsServiceClient.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductsServiceClient.java index f6cfb2ab70ed..4ae92b0afc5e 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductsServiceClient.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/ProductsServiceClient.java @@ -245,8 +245,8 @@ public ProductsServiceStub getStub() { * `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of * the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be - * the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource - * name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * the unpadded base64url encoding of this string, which is `ZW5-VVN-c2t1LzEyMw`. The full + * resource name for the product would be `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. *

    2. **Plain Format**: The `{product}` segment is the tilde-separated * string `content_language~feed_label~offer_id`. This format is suitable only when * `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters @@ -300,8 +300,8 @@ public final Product getProduct(ProductName name) { * `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of * the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be - * the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource - * name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * the unpadded base64url encoding of this string, which is `ZW5-VVN-c2t1LzEyMw`. The full + * resource name for the product would be `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. *

    2. **Plain Format**: The `{product}` segment is the tilde-separated * string `content_language~feed_label~offer_id`. This format is suitable only when * `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/stub/Version.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/stub/Version.java index fc57dd124bcb..de67c4986092 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/stub/Version.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-products:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1beta/stub/Version.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1beta/stub/Version.java index 81a939a55d3a..77e66b7c0553 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1beta/stub/Version.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/main/java/com/google/shopping/merchant/products/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-products:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientHttpJsonTest.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientHttpJsonTest.java index c5d27e7c0a10..cbdff2fd784d 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientHttpJsonTest.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientHttpJsonTest.java @@ -80,7 +80,9 @@ public void insertProductInputTest() throws Exception { ProductInput expectedResponse = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -142,7 +144,9 @@ public void updateProductInputTest() throws Exception { ProductInput expectedResponse = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -156,7 +160,9 @@ public void updateProductInputTest() throws Exception { ProductInput productInput = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -196,7 +202,9 @@ public void updateProductInputExceptionTest() throws Exception { ProductInput productInput = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientTest.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientTest.java index 54b5fc3b78ec..be35af1c8087 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientTest.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductInputsServiceClientTest.java @@ -84,7 +84,9 @@ public void insertProductInputTest() throws Exception { ProductInput expectedResponse = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -142,7 +144,9 @@ public void updateProductInputTest() throws Exception { ProductInput expectedResponse = ProductInput.newBuilder() .setName(ProductInputName.of("[ACCOUNT]", "[PRODUCTINPUT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setProduct("product-309474065") + .setBase64EncodedProduct("base64EncodedProduct1170417456") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientHttpJsonTest.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientHttpJsonTest.java index 2580e352ce3d..322861d210ab 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientHttpJsonTest.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientHttpJsonTest.java @@ -82,6 +82,7 @@ public void getProductTest() throws Exception { Product expectedResponse = Product.newBuilder() .setName(ProductName.of("[ACCOUNT]", "[PRODUCT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -136,6 +137,7 @@ public void getProductTest2() throws Exception { Product expectedResponse = Product.newBuilder() .setName(ProductName.of("[ACCOUNT]", "[PRODUCT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") diff --git a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientTest.java b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientTest.java index 0490731fa7e0..3fc52b71c29d 100644 --- a/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientTest.java +++ b/java-shopping-merchant-products/google-shopping-merchant-products/src/test/java/com/google/shopping/merchant/products/v1/ProductsServiceClientTest.java @@ -85,6 +85,7 @@ public void getProductTest() throws Exception { Product expectedResponse = Product.newBuilder() .setName(ProductName.of("[ACCOUNT]", "[PRODUCT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") @@ -133,6 +134,7 @@ public void getProductTest2() throws Exception { Product expectedResponse = Product.newBuilder() .setName(ProductName.of("[ACCOUNT]", "[PRODUCT]").toString()) + .setBase64EncodedName("base64EncodedName-1991168022") .setLegacyLocal(true) .setOfferId("offerId-1548813161") .setContentLanguage("contentLanguage810066673") diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequest.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequest.java index 39ed16259a64..2105fc5674d9 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequest.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequest.java @@ -99,10 +99,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -114,10 +114,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -162,10 +158,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -177,10 +173,6 @@ public java.lang.String getName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -629,10 +621,10 @@ public Builder mergeFrom( * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -644,10 +636,6 @@ public Builder mergeFrom( * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -691,10 +679,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -706,10 +694,6 @@ public java.lang.String getName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -753,10 +737,10 @@ public com.google.protobuf.ByteString getNameBytes() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -768,10 +752,6 @@ public com.google.protobuf.ByteString getNameBytes() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -814,10 +794,10 @@ public Builder setName(java.lang.String value) { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -829,10 +809,6 @@ public Builder setName(java.lang.String value) { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -871,10 +847,10 @@ public Builder clearName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -886,10 +862,6 @@ public Builder clearName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequestOrBuilder.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequestOrBuilder.java index 383b4422dcd1..c01cee5e33cd 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequestOrBuilder.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/DeleteProductInputRequestOrBuilder.java @@ -49,10 +49,10 @@ public interface DeleteProductInputRequestOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -64,10 +64,6 @@ public interface DeleteProductInputRequestOrBuilder * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * @@ -101,10 +97,10 @@ public interface DeleteProductInputRequestOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productInput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productInput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productInput}` segment is the tilde-separated * string @@ -116,10 +112,6 @@ public interface DeleteProductInputRequestOrBuilder * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productInput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequest.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequest.java index 0bf5337cd1b1..fc6b1b074a03 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequest.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequest.java @@ -97,10 +97,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -158,10 +158,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -532,10 +532,10 @@ public Builder mergeFrom( * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -592,10 +592,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -652,10 +652,10 @@ public com.google.protobuf.ByteString getNameBytes() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -711,10 +711,10 @@ public Builder setName(java.lang.String value) { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -766,10 +766,10 @@ public Builder clearName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequestOrBuilder.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequestOrBuilder.java index 4213a9972466..41a2cb832537 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequestOrBuilder.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/GetProductRequestOrBuilder.java @@ -48,10 +48,10 @@ public interface GetProductRequestOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only @@ -98,10 +98,10 @@ public interface GetProductRequestOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{product}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{product}` segment must be the unpadded base64url encoding of this + * string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{product}` segment is the tilde-separated string * `content_language~feed_label~offer_id`. This format is suitable only diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/Product.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/Product.java index c251a04cb141..b62bdc146fe9 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/Product.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/Product.java @@ -65,6 +65,7 @@ private Product(com.google.protobuf.GeneratedMessage.Builder builder) { private Product() { name_ = ""; + base64EncodedName_ = ""; offerId_ = ""; contentLanguage_ = ""; feedLabel_ = ""; @@ -159,6 +160,77 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int BASE64_ENCODED_NAME_FIELD_NUMBER = 15; + + @SuppressWarnings("serial") + private volatile java.lang.Object base64EncodedName_ = ""; + + /** + * + * + *

    +   * Output only. The **unpadded base64url encoded name** of the product.
    +   * Format:
    +   * `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +   * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +   * as input to the API methods that require the product name to be encoded if
    +   * it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + @java.lang.Override + public java.lang.String getBase64EncodedName() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedName_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product.
    +   * Format:
    +   * `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +   * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +   * as input to the API methods that require the product name to be encoded if
    +   * it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBase64EncodedNameBytes() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int LEGACY_LOCAL_FIELD_NUMBER = 11; private boolean legacyLocal_ = false; @@ -815,6 +887,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(13, getProductAttributes()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 15, base64EncodedName_); + } getUnknownFields().writeTo(output); } @@ -857,6 +932,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getProductAttributes()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(15, base64EncodedName_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -874,6 +952,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.shopping.merchant.products.v1.Product) obj; if (!getName().equals(other.getName())) return false; + if (!getBase64EncodedName().equals(other.getBase64EncodedName())) return false; if (getLegacyLocal() != other.getLegacyLocal()) return false; if (!getOfferId().equals(other.getOfferId())) return false; if (!getContentLanguage().equals(other.getContentLanguage())) return false; @@ -909,6 +988,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + BASE64_ENCODED_NAME_FIELD_NUMBER; + hash = (53 * hash) + getBase64EncodedName().hashCode(); hash = (37 * hash) + LEGACY_LOCAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLegacyLocal()); hash = (37 * hash) + OFFER_ID_FIELD_NUMBER; @@ -1104,6 +1185,7 @@ public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; + base64EncodedName_ = ""; legacyLocal_ = false; offerId_ = ""; contentLanguage_ = ""; @@ -1121,7 +1203,7 @@ public Builder clear() { customAttributes_ = null; customAttributesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); productStatus_ = null; if (productStatusBuilder_ != null) { productStatusBuilder_.dispose(); @@ -1170,9 +1252,9 @@ public com.google.shopping.merchant.products.v1.Product buildPartial() { private void buildPartialRepeatedFields( com.google.shopping.merchant.products.v1.Product result) { if (customAttributesBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); } result.customAttributes_ = customAttributes_; } else { @@ -1186,38 +1268,41 @@ private void buildPartial0(com.google.shopping.merchant.products.v1.Product resu result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.legacyLocal_ = legacyLocal_; + result.base64EncodedName_ = base64EncodedName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.offerId_ = offerId_; + result.legacyLocal_ = legacyLocal_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.contentLanguage_ = contentLanguage_; + result.offerId_ = offerId_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.feedLabel_ = feedLabel_; + result.contentLanguage_ = contentLanguage_; } if (((from_bitField0_ & 0x00000020) != 0)) { + result.feedLabel_ = feedLabel_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { result.dataSource_ = dataSource_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000080) != 0)) { result.versionNumber_ = versionNumber_; to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.productAttributes_ = productAttributesBuilder_ == null ? productAttributes_ : productAttributesBuilder_.build(); to_bitField0_ |= 0x00000002; } - if (((from_bitField0_ & 0x00000200) != 0)) { + if (((from_bitField0_ & 0x00000400) != 0)) { result.productStatus_ = productStatusBuilder_ == null ? productStatus_ : productStatusBuilder_.build(); to_bitField0_ |= 0x00000004; } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00000800) != 0)) { result.automatedDiscounts_ = automatedDiscountsBuilder_ == null ? automatedDiscounts_ @@ -1245,27 +1330,32 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.Product other) bitField0_ |= 0x00000001; onChanged(); } + if (!other.getBase64EncodedName().isEmpty()) { + base64EncodedName_ = other.base64EncodedName_; + bitField0_ |= 0x00000002; + onChanged(); + } if (other.getLegacyLocal() != false) { setLegacyLocal(other.getLegacyLocal()); } if (!other.getOfferId().isEmpty()) { offerId_ = other.offerId_; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); } if (!other.getContentLanguage().isEmpty()) { contentLanguage_ = other.contentLanguage_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); } if (!other.getFeedLabel().isEmpty()) { feedLabel_ = other.feedLabel_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); } if (!other.getDataSource().isEmpty()) { dataSource_ = other.dataSource_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasVersionNumber()) { @@ -1278,7 +1368,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.Product other) if (!other.customAttributes_.isEmpty()) { if (customAttributes_.isEmpty()) { customAttributes_ = other.customAttributes_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); } else { ensureCustomAttributesIsMutable(); customAttributes_.addAll(other.customAttributes_); @@ -1291,7 +1381,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.Product other) customAttributesBuilder_.dispose(); customAttributesBuilder_ = null; customAttributes_ = other.customAttributes_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); customAttributesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetCustomAttributesFieldBuilder() @@ -1342,31 +1432,31 @@ public Builder mergeFrom( case 26: { offerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; break; } // case 26 case 34: { contentLanguage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; break; } // case 34 case 42: { feedLabel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; break; } // case 42 case 50: { dataSource_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; break; } // case 50 case 56: { versionNumber_ = input.readInt64(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; break; } // case 56 case 74: @@ -1386,29 +1476,35 @@ public Builder mergeFrom( { input.readMessage( internalGetProductStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; break; } // case 82 case 88: { legacyLocal_ = input.readBool(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 88 case 98: { input.readMessage( internalGetAutomatedDiscountsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; break; } // case 98 case 106: { input.readMessage( internalGetProductAttributesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; break; } // case 106 + case 122: + { + base64EncodedName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 122 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1584,6 +1680,162 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object base64EncodedName_ = ""; + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product.
    +     * Format:
    +     * `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +     * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +     * as input to the API methods that require the product name to be encoded if
    +     * it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + public java.lang.String getBase64EncodedName() { + java.lang.Object ref = base64EncodedName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product.
    +     * Format:
    +     * `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +     * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +     * as input to the API methods that require the product name to be encoded if
    +     * it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + public com.google.protobuf.ByteString getBase64EncodedNameBytes() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product.
    +     * Format:
    +     * `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +     * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +     * as input to the API methods that require the product name to be encoded if
    +     * it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The base64EncodedName to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + base64EncodedName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product.
    +     * Format:
    +     * `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +     * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +     * as input to the API methods that require the product name to be encoded if
    +     * it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearBase64EncodedName() { + base64EncodedName_ = getDefaultInstance().getBase64EncodedName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product.
    +     * Format:
    +     * `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +     * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +     * as input to the API methods that require the product name to be encoded if
    +     * it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for base64EncodedName to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + base64EncodedName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + private boolean legacyLocal_; /** @@ -1623,7 +1875,7 @@ public boolean getLegacyLocal() { public Builder setLegacyLocal(boolean value) { legacyLocal_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1643,7 +1895,7 @@ public Builder setLegacyLocal(boolean value) { * @return This builder for chaining. */ public Builder clearLegacyLocal() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); legacyLocal_ = false; onChanged(); return this; @@ -1729,7 +1981,7 @@ public Builder setOfferId(java.lang.String value) { throw new NullPointerException(); } offerId_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1752,7 +2004,7 @@ public Builder setOfferId(java.lang.String value) { */ public Builder clearOfferId() { offerId_ = getDefaultInstance().getOfferId(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -1780,7 +2032,7 @@ public Builder setOfferIdBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); offerId_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1856,7 +2108,7 @@ public Builder setContentLanguage(java.lang.String value) { throw new NullPointerException(); } contentLanguage_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1876,7 +2128,7 @@ public Builder setContentLanguage(java.lang.String value) { */ public Builder clearContentLanguage() { contentLanguage_ = getDefaultInstance().getContentLanguage(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -1901,7 +2153,7 @@ public Builder setContentLanguageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); contentLanguage_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1983,7 +2235,7 @@ public Builder setFeedLabel(java.lang.String value) { throw new NullPointerException(); } feedLabel_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2005,7 +2257,7 @@ public Builder setFeedLabel(java.lang.String value) { */ public Builder clearFeedLabel() { feedLabel_ = getDefaultInstance().getFeedLabel(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -2032,7 +2284,7 @@ public Builder setFeedLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); feedLabel_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2102,7 +2354,7 @@ public Builder setDataSource(java.lang.String value) { throw new NullPointerException(); } dataSource_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2120,7 +2372,7 @@ public Builder setDataSource(java.lang.String value) { */ public Builder clearDataSource() { dataSource_ = getDefaultInstance().getDataSource(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -2143,7 +2395,7 @@ public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); dataSource_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2175,7 +2427,7 @@ public Builder setDataSourceBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasVersionNumber() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** @@ -2233,7 +2485,7 @@ public long getVersionNumber() { public Builder setVersionNumber(long value) { versionNumber_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2262,7 +2514,7 @@ public Builder setVersionNumber(long value) { * @return This builder for chaining. */ public Builder clearVersionNumber() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); versionNumber_ = 0L; onChanged(); return this; @@ -2289,7 +2541,7 @@ public Builder clearVersionNumber() { * @return Whether the productAttributes field is set. */ public boolean hasProductAttributes() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -2336,7 +2588,7 @@ public Builder setProductAttributes( } else { productAttributesBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2359,7 +2611,7 @@ public Builder setProductAttributes( } else { productAttributesBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2378,7 +2630,7 @@ public Builder setProductAttributes( public Builder mergeProductAttributes( com.google.shopping.merchant.products.v1.ProductAttributes value) { if (productAttributesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000100) != 0) && productAttributes_ != null && productAttributes_ != com.google.shopping.merchant.products.v1.ProductAttributes @@ -2391,7 +2643,7 @@ public Builder mergeProductAttributes( productAttributesBuilder_.mergeFrom(value); } if (productAttributes_ != null) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); } return this; @@ -2409,7 +2661,7 @@ public Builder mergeProductAttributes( *
    */ public Builder clearProductAttributes() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); productAttributes_ = null; if (productAttributesBuilder_ != null) { productAttributesBuilder_.dispose(); @@ -2432,7 +2684,7 @@ public Builder clearProductAttributes() { */ public com.google.shopping.merchant.products.v1.ProductAttributes.Builder getProductAttributesBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; onChanged(); return internalGetProductAttributesFieldBuilder().getBuilder(); } @@ -2491,10 +2743,10 @@ public Builder clearProductAttributes() { java.util.Collections.emptyList(); private void ensureCustomAttributesIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!((bitField0_ & 0x00000200) != 0)) { customAttributes_ = new java.util.ArrayList(customAttributes_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; } } @@ -2797,7 +3049,7 @@ public Builder addAllCustomAttributes( public Builder clearCustomAttributes() { if (customAttributesBuilder_ == null) { customAttributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { customAttributesBuilder_.clear(); @@ -2977,7 +3229,7 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>( customAttributes_, - ((bitField0_ & 0x00000100) != 0), + ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); customAttributes_ = null; @@ -3007,7 +3259,7 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild * @return Whether the productStatus field is set. */ public boolean hasProductStatus() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** @@ -3055,7 +3307,7 @@ public Builder setProductStatus(com.google.shopping.merchant.products.v1.Product } else { productStatusBuilder_.setMessage(value); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3079,7 +3331,7 @@ public Builder setProductStatus( } else { productStatusBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -3099,7 +3351,7 @@ public Builder setProductStatus( public Builder mergeProductStatus( com.google.shopping.merchant.products.v1.ProductStatus value) { if (productStatusBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) + if (((bitField0_ & 0x00000400) != 0) && productStatus_ != null && productStatus_ != com.google.shopping.merchant.products.v1.ProductStatus.getDefaultInstance()) { @@ -3111,7 +3363,7 @@ public Builder mergeProductStatus( productStatusBuilder_.mergeFrom(value); } if (productStatus_ != null) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); } return this; @@ -3130,7 +3382,7 @@ public Builder mergeProductStatus( *
    */ public Builder clearProductStatus() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); productStatus_ = null; if (productStatusBuilder_ != null) { productStatusBuilder_.dispose(); @@ -3154,7 +3406,7 @@ public Builder clearProductStatus() { */ public com.google.shopping.merchant.products.v1.ProductStatus.Builder getProductStatusBuilder() { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; onChanged(); return internalGetProductStatusFieldBuilder().getBuilder(); } @@ -3232,7 +3484,7 @@ public Builder clearProductStatus() { * @return Whether the automatedDiscounts field is set. */ public boolean hasAutomatedDiscounts() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** @@ -3279,7 +3531,7 @@ public Builder setAutomatedDiscounts( } else { automatedDiscountsBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3302,7 +3554,7 @@ public Builder setAutomatedDiscounts( } else { automatedDiscountsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3321,7 +3573,7 @@ public Builder setAutomatedDiscounts( public Builder mergeAutomatedDiscounts( com.google.shopping.merchant.products.v1.AutomatedDiscounts value) { if (automatedDiscountsBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00000800) != 0) && automatedDiscounts_ != null && automatedDiscounts_ != com.google.shopping.merchant.products.v1.AutomatedDiscounts @@ -3334,7 +3586,7 @@ public Builder mergeAutomatedDiscounts( automatedDiscountsBuilder_.mergeFrom(value); } if (automatedDiscounts_ != null) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); } return this; @@ -3352,7 +3604,7 @@ public Builder mergeAutomatedDiscounts( *
    */ public Builder clearAutomatedDiscounts() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); automatedDiscounts_ = null; if (automatedDiscountsBuilder_ != null) { automatedDiscountsBuilder_.dispose(); @@ -3375,7 +3627,7 @@ public Builder clearAutomatedDiscounts() { */ public com.google.shopping.merchant.products.v1.AutomatedDiscounts.Builder getAutomatedDiscountsBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; onChanged(); return internalGetAutomatedDiscountsFieldBuilder().getBuilder(); } diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java index 915a5c831084..56d650f4b662 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributes.java @@ -80,6 +80,7 @@ private ProductAttributes() { shippingTransitBusinessDays_ = java.util.Collections.emptyList(); handlingCutoffTimes_ = java.util.Collections.emptyList(); shippingLabel_ = ""; + returnPolicyLabel_ = ""; transitTimeLabel_ = ""; size_ = ""; sizeSystem_ = 0; @@ -10228,8 +10229,9 @@ public com.google.shopping.merchant.products.v1.HandlingCutoffTime getHandlingCu * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -10245,8 +10247,9 @@ public boolean hasShippingLabel() { * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -10270,8 +10273,9 @@ public java.lang.String getShippingLabel() { * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -10291,6 +10295,81 @@ public com.google.protobuf.ByteString getShippingLabelBytes() { } } + public static final int RETURN_POLICY_LABEL_FIELD_NUMBER = 170; + + @SuppressWarnings("serial") + private volatile java.lang.Object returnPolicyLabel_ = ""; + + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return Whether the returnPolicyLabel field is set. + */ + @java.lang.Override + public boolean hasReturnPolicyLabel() { + return ((bitField1_ & 0x00000400) != 0); + } + + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return The returnPolicyLabel. + */ + @java.lang.Override + public java.lang.String getReturnPolicyLabel() { + java.lang.Object ref = returnPolicyLabel_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + returnPolicyLabel_ = s; + return s; + } + } + + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return The bytes for returnPolicyLabel. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReturnPolicyLabelBytes() { + java.lang.Object ref = returnPolicyLabel_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + returnPolicyLabel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int TRANSIT_TIME_LABEL_FIELD_NUMBER = 47; @SuppressWarnings("serial") @@ -10310,7 +10389,7 @@ public com.google.protobuf.ByteString getShippingLabelBytes() { */ @java.lang.Override public boolean hasTransitTimeLabel() { - return ((bitField1_ & 0x00000400) != 0); + return ((bitField1_ & 0x00000800) != 0); } /** @@ -10384,7 +10463,7 @@ public com.google.protobuf.ByteString getTransitTimeLabelBytes() { */ @java.lang.Override public boolean hasSize() { - return ((bitField1_ & 0x00000800) != 0); + return ((bitField1_ & 0x00001000) != 0); } /** @@ -10459,7 +10538,7 @@ public com.google.protobuf.ByteString getSizeBytes() { */ @java.lang.Override public boolean hasSizeSystem() { - return ((bitField1_ & 0x00001000) != 0); + return ((bitField1_ & 0x00002000) != 0); } /** @@ -10636,7 +10715,7 @@ public int getSizeTypesValue(int index) { */ @java.lang.Override public boolean hasEnergyEfficiencyClass() { - return ((bitField1_ & 0x00002000) != 0); + return ((bitField1_ & 0x00004000) != 0); } /** @@ -10704,7 +10783,7 @@ public com.google.shopping.merchant.products.v1.EnergyEfficiencyClass getEnergyE */ @java.lang.Override public boolean hasMinEnergyEfficiencyClass() { - return ((bitField1_ & 0x00004000) != 0); + return ((bitField1_ & 0x00008000) != 0); } /** @@ -10773,7 +10852,7 @@ public int getMinEnergyEfficiencyClassValue() { */ @java.lang.Override public boolean hasMaxEnergyEfficiencyClass() { - return ((bitField1_ & 0x00008000) != 0); + return ((bitField1_ & 0x00010000) != 0); } /** @@ -10839,7 +10918,7 @@ public int getMaxEnergyEfficiencyClassValue() { */ @java.lang.Override public boolean hasUnitPricingMeasure() { - return ((bitField1_ & 0x00010000) != 0); + return ((bitField1_ & 0x00020000) != 0); } /** @@ -10897,7 +10976,7 @@ public com.google.shopping.merchant.products.v1.UnitPricingMeasure getUnitPricin */ @java.lang.Override public boolean hasUnitPricingBaseMeasure() { - return ((bitField1_ & 0x00020000) != 0); + return ((bitField1_ & 0x00040000) != 0); } /** @@ -10956,7 +11035,7 @@ public boolean hasUnitPricingBaseMeasure() { */ @java.lang.Override public boolean hasMultipack() { - return ((bitField1_ & 0x00040000) != 0); + return ((bitField1_ & 0x00080000) != 0); } /** @@ -10996,7 +11075,7 @@ public long getMultipack() { */ @java.lang.Override public boolean hasAdsGrouping() { - return ((bitField1_ & 0x00080000) != 0); + return ((bitField1_ & 0x00100000) != 0); } /** @@ -11140,7 +11219,7 @@ public com.google.protobuf.ByteString getAdsLabelsBytes(int index) { */ @java.lang.Override public boolean hasAdsRedirect() { - return ((bitField1_ & 0x00100000) != 0); + return ((bitField1_ & 0x00200000) != 0); } /** @@ -11209,7 +11288,7 @@ public com.google.protobuf.ByteString getAdsRedirectBytes() { */ @java.lang.Override public boolean hasCostOfGoodsSold() { - return ((bitField1_ & 0x00200000) != 0); + return ((bitField1_ & 0x00400000) != 0); } /** @@ -11414,7 +11493,7 @@ public com.google.protobuf.ByteString getProductHighlightsBytes(int index) { */ @java.lang.Override public boolean hasDisplayAdsId() { - return ((bitField1_ & 0x00400000) != 0); + return ((bitField1_ & 0x00800000) != 0); } /** @@ -11559,7 +11638,7 @@ public com.google.protobuf.ByteString getDisplayAdsSimilarIdsBytes(int index) { */ @java.lang.Override public boolean hasDisplayAdsTitle() { - return ((bitField1_ & 0x00800000) != 0); + return ((bitField1_ & 0x01000000) != 0); } /** @@ -11629,7 +11708,7 @@ public com.google.protobuf.ByteString getDisplayAdsTitleBytes() { */ @java.lang.Override public boolean hasDisplayAdsLink() { - return ((bitField1_ & 0x01000000) != 0); + return ((bitField1_ & 0x02000000) != 0); } /** @@ -11700,7 +11779,7 @@ public com.google.protobuf.ByteString getDisplayAdsLinkBytes() { */ @java.lang.Override public boolean hasDisplayAdsValue() { - return ((bitField1_ & 0x02000000) != 0); + return ((bitField1_ & 0x04000000) != 0); } /** @@ -11806,7 +11885,7 @@ public com.google.protobuf.ByteString getPromotionIdsBytes(int index) { */ @java.lang.Override public boolean hasPickupMethod() { - return ((bitField1_ & 0x04000000) != 0); + return ((bitField1_ & 0x08000000) != 0); } /** @@ -11864,7 +11943,7 @@ public com.google.shopping.merchant.products.v1.PickupMethod getPickupMethod() { */ @java.lang.Override public boolean hasPickupSla() { - return ((bitField1_ & 0x08000000) != 0); + return ((bitField1_ & 0x10000000) != 0); } /** @@ -11924,7 +12003,7 @@ public com.google.shopping.merchant.products.v1.PickupSla getPickupSla() { */ @java.lang.Override public boolean hasLinkTemplate() { - return ((bitField1_ & 0x10000000) != 0); + return ((bitField1_ & 0x20000000) != 0); } /** @@ -11997,7 +12076,7 @@ public com.google.protobuf.ByteString getLinkTemplateBytes() { */ @java.lang.Override public boolean hasMobileLinkTemplate() { - return ((bitField1_ & 0x20000000) != 0); + return ((bitField1_ & 0x40000000) != 0); } /** @@ -12071,7 +12150,7 @@ public com.google.protobuf.ByteString getMobileLinkTemplateBytes() { */ @java.lang.Override public boolean hasCustomLabel0() { - return ((bitField1_ & 0x40000000) != 0); + return ((bitField1_ & 0x80000000) != 0); } /** @@ -12143,7 +12222,7 @@ public com.google.protobuf.ByteString getCustomLabel0Bytes() { */ @java.lang.Override public boolean hasCustomLabel1() { - return ((bitField1_ & 0x80000000) != 0); + return ((bitField2_ & 0x00000001) != 0); } /** @@ -12215,7 +12294,7 @@ public com.google.protobuf.ByteString getCustomLabel1Bytes() { */ @java.lang.Override public boolean hasCustomLabel2() { - return ((bitField2_ & 0x00000001) != 0); + return ((bitField2_ & 0x00000002) != 0); } /** @@ -12287,7 +12366,7 @@ public com.google.protobuf.ByteString getCustomLabel2Bytes() { */ @java.lang.Override public boolean hasCustomLabel3() { - return ((bitField2_ & 0x00000002) != 0); + return ((bitField2_ & 0x00000004) != 0); } /** @@ -12359,7 +12438,7 @@ public com.google.protobuf.ByteString getCustomLabel3Bytes() { */ @java.lang.Override public boolean hasCustomLabel4() { - return ((bitField2_ & 0x00000004) != 0); + return ((bitField2_ & 0x00000008) != 0); } /** @@ -12819,7 +12898,7 @@ public com.google.protobuf.ByteString getShoppingAdsExcludedCountriesBytes(int i */ @java.lang.Override public boolean hasExternalSellerId() { - return ((bitField2_ & 0x00000008) != 0); + return ((bitField2_ & 0x00000010) != 0); } /** @@ -12891,7 +12970,7 @@ public com.google.protobuf.ByteString getExternalSellerIdBytes() { */ @java.lang.Override public boolean hasPause() { - return ((bitField2_ & 0x00000010) != 0); + return ((bitField2_ & 0x00000020) != 0); } /** @@ -13122,7 +13201,7 @@ public int getCloudExportAdditionalPropertiesCount() { */ @java.lang.Override public boolean hasVirtualModelLink() { - return ((bitField2_ & 0x00000020) != 0); + return ((bitField2_ & 0x00000040) != 0); } /** @@ -13300,7 +13379,7 @@ public com.google.shopping.merchant.products.v1.ProductCertification getCertific */ @java.lang.Override public boolean hasStructuredTitle() { - return ((bitField2_ & 0x00000040) != 0); + return ((bitField2_ & 0x00000080) != 0); } /** @@ -13358,7 +13437,7 @@ public com.google.shopping.merchant.products.v1.StructuredTitle getStructuredTit */ @java.lang.Override public boolean hasStructuredDescription() { - return ((bitField2_ & 0x00000080) != 0); + return ((bitField2_ & 0x00000100) != 0); } /** @@ -13421,7 +13500,7 @@ public com.google.shopping.merchant.products.v1.StructuredDescription getStructu */ @java.lang.Override public boolean hasAutoPricingMinPrice() { - return ((bitField2_ & 0x00000100) != 0); + return ((bitField2_ & 0x00000200) != 0); } /** @@ -13575,7 +13654,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); - if (((bitField2_ & 0x00000008) != 0)) { + if (((bitField2_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 1, externalSellerId_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -13605,7 +13684,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < additionalImageLinks_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 12, additionalImageLinks_.getRaw(i)); } - if (((bitField2_ & 0x00000010) != 0)) { + if (((bitField2_ & 0x00000020) != 0)) { output.writeEnum(13, pause_); } for (int i = 0; i < lifestyleImageLinks_.size(); i++) { @@ -13701,13 +13780,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField1_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 46, shippingLabel_); } - if (((bitField1_ & 0x00000400) != 0)) { + if (((bitField1_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 47, transitTimeLabel_); } - if (((bitField1_ & 0x00000800) != 0)) { + if (((bitField1_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 48, size_); } - if (((bitField1_ & 0x00001000) != 0)) { + if (((bitField1_ & 0x00002000) != 0)) { output.writeEnum(49, sizeSystem_); } if (getSizeTypesList().size() > 0) { @@ -13717,34 +13796,34 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < sizeTypes_.size(); i++) { output.writeEnumNoTag(sizeTypes_.getInt(i)); } - if (((bitField1_ & 0x00002000) != 0)) { + if (((bitField1_ & 0x00004000) != 0)) { output.writeEnum(53, energyEfficiencyClass_); } - if (((bitField1_ & 0x00004000) != 0)) { + if (((bitField1_ & 0x00008000) != 0)) { output.writeEnum(54, minEnergyEfficiencyClass_); } - if (((bitField1_ & 0x00008000) != 0)) { + if (((bitField1_ & 0x00010000) != 0)) { output.writeEnum(55, maxEnergyEfficiencyClass_); } - if (((bitField1_ & 0x00010000) != 0)) { + if (((bitField1_ & 0x00020000) != 0)) { output.writeMessage(56, getUnitPricingMeasure()); } - if (((bitField1_ & 0x00020000) != 0)) { + if (((bitField1_ & 0x00040000) != 0)) { output.writeMessage(57, getUnitPricingBaseMeasure()); } - if (((bitField1_ & 0x00040000) != 0)) { + if (((bitField1_ & 0x00080000) != 0)) { output.writeInt64(58, multipack_); } - if (((bitField1_ & 0x00080000) != 0)) { + if (((bitField1_ & 0x00100000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 59, adsGrouping_); } for (int i = 0; i < adsLabels_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 60, adsLabels_.getRaw(i)); } - if (((bitField1_ & 0x00100000) != 0)) { + if (((bitField1_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 61, adsRedirect_); } - if (((bitField1_ & 0x00200000) != 0)) { + if (((bitField1_ & 0x00400000) != 0)) { output.writeMessage(62, getCostOfGoodsSold()); } for (int i = 0; i < productDetails_.size(); i++) { @@ -13753,37 +13832,37 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < productHighlights_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 64, productHighlights_.getRaw(i)); } - if (((bitField1_ & 0x00400000) != 0)) { + if (((bitField1_ & 0x00800000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 65, displayAdsId_); } for (int i = 0; i < displayAdsSimilarIds_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 66, displayAdsSimilarIds_.getRaw(i)); } - if (((bitField1_ & 0x00800000) != 0)) { + if (((bitField1_ & 0x01000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 67, displayAdsTitle_); } - if (((bitField1_ & 0x01000000) != 0)) { + if (((bitField1_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 68, displayAdsLink_); } - if (((bitField1_ & 0x02000000) != 0)) { + if (((bitField1_ & 0x04000000) != 0)) { output.writeDouble(69, displayAdsValue_); } for (int i = 0; i < promotionIds_.size(); i++) { com.google.protobuf.GeneratedMessage.writeString(output, 70, promotionIds_.getRaw(i)); } - if (((bitField1_ & 0x40000000) != 0)) { + if (((bitField1_ & 0x80000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 71, customLabel0_); } - if (((bitField1_ & 0x80000000) != 0)) { + if (((bitField2_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 72, customLabel1_); } - if (((bitField2_ & 0x00000001) != 0)) { + if (((bitField2_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 73, customLabel2_); } - if (((bitField2_ & 0x00000002) != 0)) { + if (((bitField2_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 74, customLabel3_); } - if (((bitField2_ & 0x00000004) != 0)) { + if (((bitField2_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 75, customLabel4_); } if (getIncludedDestinationsList().size() > 0) { @@ -13807,16 +13886,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(79, getDisclosureDate()); } - if (((bitField1_ & 0x04000000) != 0)) { + if (((bitField1_ & 0x08000000) != 0)) { output.writeEnum(80, pickupMethod_); } - if (((bitField1_ & 0x08000000) != 0)) { + if (((bitField1_ & 0x10000000) != 0)) { output.writeEnum(81, pickupSla_); } - if (((bitField1_ & 0x10000000) != 0)) { + if (((bitField1_ & 0x20000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 82, linkTemplate_); } - if (((bitField1_ & 0x20000000) != 0)) { + if (((bitField1_ & 0x40000000) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 83, mobileLinkTemplate_); } for (int i = 0; i < cloudExportAdditionalProperties_.size(); i++) { @@ -13837,16 +13916,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < certifications_.size(); i++) { output.writeMessage(123, certifications_.get(i)); } - if (((bitField2_ & 0x00000100) != 0)) { + if (((bitField2_ & 0x00000200) != 0)) { output.writeMessage(124, getAutoPricingMinPrice()); } - if (((bitField2_ & 0x00000020) != 0)) { + if (((bitField2_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessage.writeString(output, 130, virtualModelLink_); } - if (((bitField2_ & 0x00000040) != 0)) { + if (((bitField2_ & 0x00000080) != 0)) { output.writeMessage(132, getStructuredTitle()); } - if (((bitField2_ & 0x00000080) != 0)) { + if (((bitField2_ & 0x00000100) != 0)) { output.writeMessage(133, getStructuredDescription()); } for (int i = 0; i < freeShippingThreshold_.size(); i++) { @@ -13876,6 +13955,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < shippingTransitBusinessDays_.size(); i++) { output.writeMessage(144, shippingTransitBusinessDays_.get(i)); } + if (((bitField1_ & 0x00000400) != 0)) { + com.google.protobuf.GeneratedMessage.writeString(output, 170, returnPolicyLabel_); + } getUnknownFields().writeTo(output); } @@ -13885,7 +13967,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField2_ & 0x00000008) != 0)) { + if (((bitField2_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, externalSellerId_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -13920,7 +14002,7 @@ public int getSerializedSize() { size += dataSize; size += 1 * getAdditionalImageLinksList().size(); } - if (((bitField2_ & 0x00000010) != 0)) { + if (((bitField2_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, pause_); } { @@ -14027,13 +14109,13 @@ public int getSerializedSize() { if (((bitField1_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(46, shippingLabel_); } - if (((bitField1_ & 0x00000400) != 0)) { + if (((bitField1_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(47, transitTimeLabel_); } - if (((bitField1_ & 0x00000800) != 0)) { + if (((bitField1_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(48, size_); } - if (((bitField1_ & 0x00001000) != 0)) { + if (((bitField1_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(49, sizeSystem_); } { @@ -14049,26 +14131,26 @@ public int getSerializedSize() { } sizeTypesMemoizedSerializedSize = dataSize; } - if (((bitField1_ & 0x00002000) != 0)) { + if (((bitField1_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(53, energyEfficiencyClass_); } - if (((bitField1_ & 0x00004000) != 0)) { + if (((bitField1_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(54, minEnergyEfficiencyClass_); } - if (((bitField1_ & 0x00008000) != 0)) { + if (((bitField1_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(55, maxEnergyEfficiencyClass_); } - if (((bitField1_ & 0x00010000) != 0)) { + if (((bitField1_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(56, getUnitPricingMeasure()); } - if (((bitField1_ & 0x00020000) != 0)) { + if (((bitField1_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(57, getUnitPricingBaseMeasure()); } - if (((bitField1_ & 0x00040000) != 0)) { + if (((bitField1_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(58, multipack_); } - if (((bitField1_ & 0x00080000) != 0)) { + if (((bitField1_ & 0x00100000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(59, adsGrouping_); } { @@ -14079,10 +14161,10 @@ public int getSerializedSize() { size += dataSize; size += 2 * getAdsLabelsList().size(); } - if (((bitField1_ & 0x00100000) != 0)) { + if (((bitField1_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(61, adsRedirect_); } - if (((bitField1_ & 0x00200000) != 0)) { + if (((bitField1_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(62, getCostOfGoodsSold()); } for (int i = 0; i < productDetails_.size(); i++) { @@ -14096,7 +14178,7 @@ public int getSerializedSize() { size += dataSize; size += 2 * getProductHighlightsList().size(); } - if (((bitField1_ & 0x00400000) != 0)) { + if (((bitField1_ & 0x00800000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(65, displayAdsId_); } { @@ -14107,13 +14189,13 @@ public int getSerializedSize() { size += dataSize; size += 2 * getDisplayAdsSimilarIdsList().size(); } - if (((bitField1_ & 0x00800000) != 0)) { + if (((bitField1_ & 0x01000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(67, displayAdsTitle_); } - if (((bitField1_ & 0x01000000) != 0)) { + if (((bitField1_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(68, displayAdsLink_); } - if (((bitField1_ & 0x02000000) != 0)) { + if (((bitField1_ & 0x04000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(69, displayAdsValue_); } { @@ -14124,19 +14206,19 @@ public int getSerializedSize() { size += dataSize; size += 2 * getPromotionIdsList().size(); } - if (((bitField1_ & 0x40000000) != 0)) { + if (((bitField1_ & 0x80000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(71, customLabel0_); } - if (((bitField1_ & 0x80000000) != 0)) { + if (((bitField2_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(72, customLabel1_); } - if (((bitField2_ & 0x00000001) != 0)) { + if (((bitField2_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(73, customLabel2_); } - if (((bitField2_ & 0x00000002) != 0)) { + if (((bitField2_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(74, customLabel3_); } - if (((bitField2_ & 0x00000004) != 0)) { + if (((bitField2_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(75, customLabel4_); } { @@ -14178,16 +14260,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(79, getDisclosureDate()); } - if (((bitField1_ & 0x04000000) != 0)) { + if (((bitField1_ & 0x08000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(80, pickupMethod_); } - if (((bitField1_ & 0x08000000) != 0)) { + if (((bitField1_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(81, pickupSla_); } - if (((bitField1_ & 0x10000000) != 0)) { + if (((bitField1_ & 0x20000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(82, linkTemplate_); } - if (((bitField1_ & 0x20000000) != 0)) { + if (((bitField1_ & 0x40000000) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(83, mobileLinkTemplate_); } for (int i = 0; i < cloudExportAdditionalProperties_.size(); i++) { @@ -14210,17 +14292,17 @@ public int getSerializedSize() { for (int i = 0; i < certifications_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(123, certifications_.get(i)); } - if (((bitField2_ & 0x00000100) != 0)) { + if (((bitField2_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(124, getAutoPricingMinPrice()); } - if (((bitField2_ & 0x00000020) != 0)) { + if (((bitField2_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessage.computeStringSize(130, virtualModelLink_); } - if (((bitField2_ & 0x00000040) != 0)) { + if (((bitField2_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(132, getStructuredTitle()); } - if (((bitField2_ & 0x00000080) != 0)) { + if (((bitField2_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(133, getStructuredDescription()); } @@ -14269,6 +14351,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 144, shippingTransitBusinessDays_.get(i)); } + if (((bitField1_ & 0x00000400) != 0)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(170, returnPolicyLabel_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -14465,6 +14550,10 @@ public boolean equals(final java.lang.Object obj) { if (hasShippingLabel()) { if (!getShippingLabel().equals(other.getShippingLabel())) return false; } + if (hasReturnPolicyLabel() != other.hasReturnPolicyLabel()) return false; + if (hasReturnPolicyLabel()) { + if (!getReturnPolicyLabel().equals(other.getReturnPolicyLabel())) return false; + } if (hasTransitTimeLabel() != other.hasTransitTimeLabel()) return false; if (hasTransitTimeLabel()) { if (!getTransitTimeLabel().equals(other.getTransitTimeLabel())) return false; @@ -14825,6 +14914,10 @@ public int hashCode() { hash = (37 * hash) + SHIPPING_LABEL_FIELD_NUMBER; hash = (53 * hash) + getShippingLabel().hashCode(); } + if (hasReturnPolicyLabel()) { + hash = (37 * hash) + RETURN_POLICY_LABEL_FIELD_NUMBER; + hash = (53 * hash) + getReturnPolicyLabel().hashCode(); + } if (hasTransitTimeLabel()) { hash = (37 * hash) + TRANSIT_TIME_LABEL_FIELD_NUMBER; hash = (53 * hash) + getTransitTimeLabel().hashCode(); @@ -15190,6 +15283,7 @@ public Builder clear() { bitField0_ = 0; bitField1_ = 0; bitField2_ = 0; + bitField3_ = 0; identifierExists_ = false; isBundle_ = false; title_ = ""; @@ -15356,6 +15450,7 @@ public Builder clear() { } bitField1_ = (bitField1_ & ~0x00040000); shippingLabel_ = ""; + returnPolicyLabel_ = ""; transitTimeLabel_ = ""; size_ = ""; sizeSystem_ = 0; @@ -15388,7 +15483,7 @@ public Builder clear() { productDetails_ = null; productDetailsBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); productHighlights_ = com.google.protobuf.LazyStringArrayList.emptyList(); displayAdsId_ = ""; displayAdsSimilarIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); @@ -15417,7 +15512,7 @@ public Builder clear() { cloudExportAdditionalProperties_ = null; cloudExportAdditionalPropertiesBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); virtualModelLink_ = ""; if (certificationsBuilder_ == null) { certifications_ = java.util.Collections.emptyList(); @@ -15425,7 +15520,7 @@ public Builder clear() { certifications_ = null; certificationsBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); structuredTitle_ = null; if (structuredTitleBuilder_ != null) { structuredTitleBuilder_.dispose(); @@ -15447,7 +15542,7 @@ public Builder clear() { sustainabilityIncentives_ = null; sustainabilityIncentivesBuilder_.clear(); } - bitField2_ = (bitField2_ & ~0x80000000); + bitField3_ = (bitField3_ & ~0x00000001); return this; } @@ -15485,6 +15580,9 @@ public com.google.shopping.merchant.products.v1.ProductAttributes buildPartial() if (bitField2_ != 0) { buildPartial2(result); } + if (bitField3_ != 0) { + buildPartial3(result); + } onBuilt(); return result; } @@ -15557,38 +15655,38 @@ private void buildPartialRepeatedFields( result.handlingCutoffTimes_ = handlingCutoffTimesBuilder_.build(); } if (productDetailsBuilder_ == null) { - if (((bitField2_ & 0x00000004) != 0)) { + if (((bitField2_ & 0x00000008) != 0)) { productDetails_ = java.util.Collections.unmodifiableList(productDetails_); - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); } result.productDetails_ = productDetails_; } else { result.productDetails_ = productDetailsBuilder_.build(); } if (cloudExportAdditionalPropertiesBuilder_ == null) { - if (((bitField2_ & 0x02000000) != 0)) { + if (((bitField2_ & 0x04000000) != 0)) { cloudExportAdditionalProperties_ = java.util.Collections.unmodifiableList(cloudExportAdditionalProperties_); - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); } result.cloudExportAdditionalProperties_ = cloudExportAdditionalProperties_; } else { result.cloudExportAdditionalProperties_ = cloudExportAdditionalPropertiesBuilder_.build(); } if (certificationsBuilder_ == null) { - if (((bitField2_ & 0x08000000) != 0)) { + if (((bitField2_ & 0x10000000) != 0)) { certifications_ = java.util.Collections.unmodifiableList(certifications_); - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); } result.certifications_ = certifications_; } else { result.certifications_ = certificationsBuilder_.build(); } if (sustainabilityIncentivesBuilder_ == null) { - if (((bitField2_ & 0x80000000) != 0)) { + if (((bitField3_ & 0x00000001) != 0)) { sustainabilityIncentives_ = java.util.Collections.unmodifiableList(sustainabilityIncentives_); - bitField2_ = (bitField2_ & ~0x80000000); + bitField3_ = (bitField3_ & ~0x00000001); } result.sustainabilityIncentives_ = sustainabilityIncentives_; } else { @@ -15807,58 +15905,58 @@ private void buildPartial1(com.google.shopping.merchant.products.v1.ProductAttri to_bitField1_ |= 0x00000200; } if (((from_bitField1_ & 0x00100000) != 0)) { - result.transitTimeLabel_ = transitTimeLabel_; + result.returnPolicyLabel_ = returnPolicyLabel_; to_bitField1_ |= 0x00000400; } if (((from_bitField1_ & 0x00200000) != 0)) { - result.size_ = size_; + result.transitTimeLabel_ = transitTimeLabel_; to_bitField1_ |= 0x00000800; } if (((from_bitField1_ & 0x00400000) != 0)) { - result.sizeSystem_ = sizeSystem_; + result.size_ = size_; to_bitField1_ |= 0x00001000; } if (((from_bitField1_ & 0x00800000) != 0)) { - sizeTypes_.makeImmutable(); - result.sizeTypes_ = sizeTypes_; + result.sizeSystem_ = sizeSystem_; + to_bitField1_ |= 0x00002000; } if (((from_bitField1_ & 0x01000000) != 0)) { - result.energyEfficiencyClass_ = energyEfficiencyClass_; - to_bitField1_ |= 0x00002000; + sizeTypes_.makeImmutable(); + result.sizeTypes_ = sizeTypes_; } if (((from_bitField1_ & 0x02000000) != 0)) { - result.minEnergyEfficiencyClass_ = minEnergyEfficiencyClass_; + result.energyEfficiencyClass_ = energyEfficiencyClass_; to_bitField1_ |= 0x00004000; } if (((from_bitField1_ & 0x04000000) != 0)) { - result.maxEnergyEfficiencyClass_ = maxEnergyEfficiencyClass_; + result.minEnergyEfficiencyClass_ = minEnergyEfficiencyClass_; to_bitField1_ |= 0x00008000; } if (((from_bitField1_ & 0x08000000) != 0)) { + result.maxEnergyEfficiencyClass_ = maxEnergyEfficiencyClass_; + to_bitField1_ |= 0x00010000; + } + if (((from_bitField1_ & 0x10000000) != 0)) { result.unitPricingMeasure_ = unitPricingMeasureBuilder_ == null ? unitPricingMeasure_ : unitPricingMeasureBuilder_.build(); - to_bitField1_ |= 0x00010000; + to_bitField1_ |= 0x00020000; } - if (((from_bitField1_ & 0x10000000) != 0)) { + if (((from_bitField1_ & 0x20000000) != 0)) { result.unitPricingBaseMeasure_ = unitPricingBaseMeasureBuilder_ == null ? unitPricingBaseMeasure_ : unitPricingBaseMeasureBuilder_.build(); - to_bitField1_ |= 0x00020000; - } - if (((from_bitField1_ & 0x20000000) != 0)) { - result.multipack_ = multipack_; to_bitField1_ |= 0x00040000; } if (((from_bitField1_ & 0x40000000) != 0)) { - result.adsGrouping_ = adsGrouping_; + result.multipack_ = multipack_; to_bitField1_ |= 0x00080000; } if (((from_bitField1_ & 0x80000000) != 0)) { - adsLabels_.makeImmutable(); - result.adsLabels_ = adsLabels_; + result.adsGrouping_ = adsGrouping_; + to_bitField1_ |= 0x00100000; } result.bitField0_ |= to_bitField0_; result.bitField1_ |= to_bitField1_; @@ -15866,132 +15964,140 @@ private void buildPartial1(com.google.shopping.merchant.products.v1.ProductAttri private void buildPartial2(com.google.shopping.merchant.products.v1.ProductAttributes result) { int from_bitField2_ = bitField2_; - int to_bitField1_ = 0; if (((from_bitField2_ & 0x00000001) != 0)) { - result.adsRedirect_ = adsRedirect_; - to_bitField1_ |= 0x00100000; + adsLabels_.makeImmutable(); + result.adsLabels_ = adsLabels_; } + int to_bitField1_ = 0; if (((from_bitField2_ & 0x00000002) != 0)) { + result.adsRedirect_ = adsRedirect_; + to_bitField1_ |= 0x00200000; + } + if (((from_bitField2_ & 0x00000004) != 0)) { result.costOfGoodsSold_ = costOfGoodsSoldBuilder_ == null ? costOfGoodsSold_ : costOfGoodsSoldBuilder_.build(); - to_bitField1_ |= 0x00200000; + to_bitField1_ |= 0x00400000; } - if (((from_bitField2_ & 0x00000008) != 0)) { + if (((from_bitField2_ & 0x00000010) != 0)) { productHighlights_.makeImmutable(); result.productHighlights_ = productHighlights_; } - if (((from_bitField2_ & 0x00000010) != 0)) { + if (((from_bitField2_ & 0x00000020) != 0)) { result.displayAdsId_ = displayAdsId_; - to_bitField1_ |= 0x00400000; + to_bitField1_ |= 0x00800000; } - if (((from_bitField2_ & 0x00000020) != 0)) { + if (((from_bitField2_ & 0x00000040) != 0)) { displayAdsSimilarIds_.makeImmutable(); result.displayAdsSimilarIds_ = displayAdsSimilarIds_; } - if (((from_bitField2_ & 0x00000040) != 0)) { - result.displayAdsTitle_ = displayAdsTitle_; - to_bitField1_ |= 0x00800000; - } if (((from_bitField2_ & 0x00000080) != 0)) { - result.displayAdsLink_ = displayAdsLink_; + result.displayAdsTitle_ = displayAdsTitle_; to_bitField1_ |= 0x01000000; } if (((from_bitField2_ & 0x00000100) != 0)) { - result.displayAdsValue_ = displayAdsValue_; + result.displayAdsLink_ = displayAdsLink_; to_bitField1_ |= 0x02000000; } if (((from_bitField2_ & 0x00000200) != 0)) { - promotionIds_.makeImmutable(); - result.promotionIds_ = promotionIds_; + result.displayAdsValue_ = displayAdsValue_; + to_bitField1_ |= 0x04000000; } if (((from_bitField2_ & 0x00000400) != 0)) { - result.pickupMethod_ = pickupMethod_; - to_bitField1_ |= 0x04000000; + promotionIds_.makeImmutable(); + result.promotionIds_ = promotionIds_; } if (((from_bitField2_ & 0x00000800) != 0)) { - result.pickupSla_ = pickupSla_; + result.pickupMethod_ = pickupMethod_; to_bitField1_ |= 0x08000000; } if (((from_bitField2_ & 0x00001000) != 0)) { - result.linkTemplate_ = linkTemplate_; + result.pickupSla_ = pickupSla_; to_bitField1_ |= 0x10000000; } if (((from_bitField2_ & 0x00002000) != 0)) { - result.mobileLinkTemplate_ = mobileLinkTemplate_; + result.linkTemplate_ = linkTemplate_; to_bitField1_ |= 0x20000000; } if (((from_bitField2_ & 0x00004000) != 0)) { - result.customLabel0_ = customLabel0_; + result.mobileLinkTemplate_ = mobileLinkTemplate_; to_bitField1_ |= 0x40000000; } if (((from_bitField2_ & 0x00008000) != 0)) { - result.customLabel1_ = customLabel1_; + result.customLabel0_ = customLabel0_; to_bitField1_ |= 0x80000000; } int to_bitField2_ = 0; if (((from_bitField2_ & 0x00010000) != 0)) { - result.customLabel2_ = customLabel2_; + result.customLabel1_ = customLabel1_; to_bitField2_ |= 0x00000001; } if (((from_bitField2_ & 0x00020000) != 0)) { - result.customLabel3_ = customLabel3_; + result.customLabel2_ = customLabel2_; to_bitField2_ |= 0x00000002; } if (((from_bitField2_ & 0x00040000) != 0)) { - result.customLabel4_ = customLabel4_; + result.customLabel3_ = customLabel3_; to_bitField2_ |= 0x00000004; } if (((from_bitField2_ & 0x00080000) != 0)) { + result.customLabel4_ = customLabel4_; + to_bitField2_ |= 0x00000008; + } + if (((from_bitField2_ & 0x00100000) != 0)) { includedDestinations_.makeImmutable(); result.includedDestinations_ = includedDestinations_; } - if (((from_bitField2_ & 0x00100000) != 0)) { + if (((from_bitField2_ & 0x00200000) != 0)) { excludedDestinations_.makeImmutable(); result.excludedDestinations_ = excludedDestinations_; } - if (((from_bitField2_ & 0x00200000) != 0)) { + if (((from_bitField2_ & 0x00400000) != 0)) { shoppingAdsExcludedCountries_.makeImmutable(); result.shoppingAdsExcludedCountries_ = shoppingAdsExcludedCountries_; } - if (((from_bitField2_ & 0x00400000) != 0)) { - result.externalSellerId_ = externalSellerId_; - to_bitField2_ |= 0x00000008; - } if (((from_bitField2_ & 0x00800000) != 0)) { - result.pause_ = pause_; + result.externalSellerId_ = externalSellerId_; to_bitField2_ |= 0x00000010; } if (((from_bitField2_ & 0x01000000) != 0)) { + result.pause_ = pause_; + to_bitField2_ |= 0x00000020; + } + if (((from_bitField2_ & 0x02000000) != 0)) { lifestyleImageLinks_.makeImmutable(); result.lifestyleImageLinks_ = lifestyleImageLinks_; } - if (((from_bitField2_ & 0x04000000) != 0)) { + if (((from_bitField2_ & 0x08000000) != 0)) { result.virtualModelLink_ = virtualModelLink_; - to_bitField2_ |= 0x00000020; + to_bitField2_ |= 0x00000040; } - if (((from_bitField2_ & 0x10000000) != 0)) { + if (((from_bitField2_ & 0x20000000) != 0)) { result.structuredTitle_ = structuredTitleBuilder_ == null ? structuredTitle_ : structuredTitleBuilder_.build(); - to_bitField2_ |= 0x00000040; + to_bitField2_ |= 0x00000080; } - if (((from_bitField2_ & 0x20000000) != 0)) { + if (((from_bitField2_ & 0x40000000) != 0)) { result.structuredDescription_ = structuredDescriptionBuilder_ == null ? structuredDescription_ : structuredDescriptionBuilder_.build(); - to_bitField2_ |= 0x00000080; + to_bitField2_ |= 0x00000100; } - if (((from_bitField2_ & 0x40000000) != 0)) { + if (((from_bitField2_ & 0x80000000) != 0)) { result.autoPricingMinPrice_ = autoPricingMinPriceBuilder_ == null ? autoPricingMinPrice_ : autoPricingMinPriceBuilder_.build(); - to_bitField2_ |= 0x00000100; + to_bitField2_ |= 0x00000200; } result.bitField1_ |= to_bitField1_; result.bitField2_ |= to_bitField2_; } + private void buildPartial3(com.google.shopping.merchant.products.v1.ProductAttributes result) { + int from_bitField3_ = bitField3_; + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.shopping.merchant.products.v1.ProductAttributes) { @@ -16379,14 +16485,19 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu bitField1_ |= 0x00080000; onChanged(); } + if (other.hasReturnPolicyLabel()) { + returnPolicyLabel_ = other.returnPolicyLabel_; + bitField1_ |= 0x00100000; + onChanged(); + } if (other.hasTransitTimeLabel()) { transitTimeLabel_ = other.transitTimeLabel_; - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; onChanged(); } if (other.hasSize()) { size_ = other.size_; - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; onChanged(); } if (other.hasSizeSystem()) { @@ -16396,7 +16507,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (sizeTypes_.isEmpty()) { sizeTypes_ = other.sizeTypes_; sizeTypes_.makeImmutable(); - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; } else { ensureSizeTypesIsMutable(); sizeTypes_.addAll(other.sizeTypes_); @@ -16423,13 +16534,13 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasAdsGrouping()) { adsGrouping_ = other.adsGrouping_; - bitField1_ |= 0x40000000; + bitField1_ |= 0x80000000; onChanged(); } if (!other.adsLabels_.isEmpty()) { if (adsLabels_.isEmpty()) { adsLabels_ = other.adsLabels_; - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; } else { ensureAdsLabelsIsMutable(); adsLabels_.addAll(other.adsLabels_); @@ -16438,7 +16549,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasAdsRedirect()) { adsRedirect_ = other.adsRedirect_; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); } if (other.hasCostOfGoodsSold()) { @@ -16448,7 +16559,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.productDetails_.isEmpty()) { if (productDetails_.isEmpty()) { productDetails_ = other.productDetails_; - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); } else { ensureProductDetailsIsMutable(); productDetails_.addAll(other.productDetails_); @@ -16461,7 +16572,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu productDetailsBuilder_.dispose(); productDetailsBuilder_ = null; productDetails_ = other.productDetails_; - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); productDetailsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetProductDetailsFieldBuilder() @@ -16474,7 +16585,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.productHighlights_.isEmpty()) { if (productHighlights_.isEmpty()) { productHighlights_ = other.productHighlights_; - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; } else { ensureProductHighlightsIsMutable(); productHighlights_.addAll(other.productHighlights_); @@ -16483,13 +16594,13 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasDisplayAdsId()) { displayAdsId_ = other.displayAdsId_; - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; onChanged(); } if (!other.displayAdsSimilarIds_.isEmpty()) { if (displayAdsSimilarIds_.isEmpty()) { displayAdsSimilarIds_ = other.displayAdsSimilarIds_; - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; } else { ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.addAll(other.displayAdsSimilarIds_); @@ -16498,12 +16609,12 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasDisplayAdsTitle()) { displayAdsTitle_ = other.displayAdsTitle_; - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; onChanged(); } if (other.hasDisplayAdsLink()) { displayAdsLink_ = other.displayAdsLink_; - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; onChanged(); } if (other.hasDisplayAdsValue()) { @@ -16512,7 +16623,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.promotionIds_.isEmpty()) { if (promotionIds_.isEmpty()) { promotionIds_ = other.promotionIds_; - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; } else { ensurePromotionIdsIsMutable(); promotionIds_.addAll(other.promotionIds_); @@ -16527,44 +16638,44 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasLinkTemplate()) { linkTemplate_ = other.linkTemplate_; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); } if (other.hasMobileLinkTemplate()) { mobileLinkTemplate_ = other.mobileLinkTemplate_; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); } if (other.hasCustomLabel0()) { customLabel0_ = other.customLabel0_; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); } if (other.hasCustomLabel1()) { customLabel1_ = other.customLabel1_; - bitField2_ |= 0x00008000; + bitField2_ |= 0x00010000; onChanged(); } if (other.hasCustomLabel2()) { customLabel2_ = other.customLabel2_; - bitField2_ |= 0x00010000; + bitField2_ |= 0x00020000; onChanged(); } if (other.hasCustomLabel3()) { customLabel3_ = other.customLabel3_; - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); } if (other.hasCustomLabel4()) { customLabel4_ = other.customLabel4_; - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; onChanged(); } if (!other.includedDestinations_.isEmpty()) { if (includedDestinations_.isEmpty()) { includedDestinations_ = other.includedDestinations_; includedDestinations_.makeImmutable(); - bitField2_ |= 0x00080000; + bitField2_ |= 0x00100000; } else { ensureIncludedDestinationsIsMutable(); includedDestinations_.addAll(other.includedDestinations_); @@ -16575,7 +16686,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (excludedDestinations_.isEmpty()) { excludedDestinations_ = other.excludedDestinations_; excludedDestinations_.makeImmutable(); - bitField2_ |= 0x00100000; + bitField2_ |= 0x00200000; } else { ensureExcludedDestinationsIsMutable(); excludedDestinations_.addAll(other.excludedDestinations_); @@ -16585,7 +16696,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.shoppingAdsExcludedCountries_.isEmpty()) { if (shoppingAdsExcludedCountries_.isEmpty()) { shoppingAdsExcludedCountries_ = other.shoppingAdsExcludedCountries_; - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; } else { ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.addAll(other.shoppingAdsExcludedCountries_); @@ -16594,7 +16705,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasExternalSellerId()) { externalSellerId_ = other.externalSellerId_; - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; onChanged(); } if (other.hasPause()) { @@ -16603,7 +16714,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.lifestyleImageLinks_.isEmpty()) { if (lifestyleImageLinks_.isEmpty()) { lifestyleImageLinks_ = other.lifestyleImageLinks_; - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; } else { ensureLifestyleImageLinksIsMutable(); lifestyleImageLinks_.addAll(other.lifestyleImageLinks_); @@ -16614,7 +16725,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.cloudExportAdditionalProperties_.isEmpty()) { if (cloudExportAdditionalProperties_.isEmpty()) { cloudExportAdditionalProperties_ = other.cloudExportAdditionalProperties_; - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); } else { ensureCloudExportAdditionalPropertiesIsMutable(); cloudExportAdditionalProperties_.addAll(other.cloudExportAdditionalProperties_); @@ -16627,7 +16738,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu cloudExportAdditionalPropertiesBuilder_.dispose(); cloudExportAdditionalPropertiesBuilder_ = null; cloudExportAdditionalProperties_ = other.cloudExportAdditionalProperties_; - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); cloudExportAdditionalPropertiesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetCloudExportAdditionalPropertiesFieldBuilder() @@ -16640,14 +16751,14 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu } if (other.hasVirtualModelLink()) { virtualModelLink_ = other.virtualModelLink_; - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); } if (certificationsBuilder_ == null) { if (!other.certifications_.isEmpty()) { if (certifications_.isEmpty()) { certifications_ = other.certifications_; - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); } else { ensureCertificationsIsMutable(); certifications_.addAll(other.certifications_); @@ -16660,7 +16771,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu certificationsBuilder_.dispose(); certificationsBuilder_ = null; certifications_ = other.certifications_; - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); certificationsBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetCertificationsFieldBuilder() @@ -16683,7 +16794,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu if (!other.sustainabilityIncentives_.isEmpty()) { if (sustainabilityIncentives_.isEmpty()) { sustainabilityIncentives_ = other.sustainabilityIncentives_; - bitField2_ = (bitField2_ & ~0x80000000); + bitField3_ = (bitField3_ & ~0x00000001); } else { ensureSustainabilityIncentivesIsMutable(); sustainabilityIncentives_.addAll(other.sustainabilityIncentives_); @@ -16696,7 +16807,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductAttribu sustainabilityIncentivesBuilder_.dispose(); sustainabilityIncentivesBuilder_ = null; sustainabilityIncentives_ = other.sustainabilityIncentives_; - bitField2_ = (bitField2_ & ~0x80000000); + bitField3_ = (bitField3_ & ~0x00000001); sustainabilityIncentivesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetSustainabilityIncentivesFieldBuilder() @@ -16735,7 +16846,7 @@ public Builder mergeFrom( case 10: { externalSellerId_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00400000; + bitField2_ |= 0x00800000; break; } // case 10 case 32: @@ -16796,7 +16907,7 @@ public Builder mergeFrom( case 104: { pause_ = input.readEnum(); - bitField2_ |= 0x00800000; + bitField2_ |= 0x01000000; break; } // case 104 case 114: @@ -17010,19 +17121,19 @@ public Builder mergeFrom( case 378: { transitTimeLabel_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; break; } // case 378 case 386: { size_ = input.readStringRequireUtf8(); - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; break; } // case 386 case 392: { sizeSystem_ = input.readEnum(); - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; break; } // case 392 case 400: @@ -17046,26 +17157,26 @@ public Builder mergeFrom( case 424: { energyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; break; } // case 424 case 432: { minEnergyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; break; } // case 432 case 440: { maxEnergyEfficiencyClass_ = input.readEnum(); - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; break; } // case 440 case 450: { input.readMessage( internalGetUnitPricingMeasureFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; break; } // case 450 case 458: @@ -17073,19 +17184,19 @@ public Builder mergeFrom( input.readMessage( internalGetUnitPricingBaseMeasureFieldBuilder().getBuilder(), extensionRegistry); - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; break; } // case 458 case 464: { multipack_ = input.readInt64(); - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; break; } // case 464 case 474: { adsGrouping_ = input.readStringRequireUtf8(); - bitField1_ |= 0x40000000; + bitField1_ |= 0x80000000; break; } // case 474 case 482: @@ -17098,14 +17209,14 @@ public Builder mergeFrom( case 490: { adsRedirect_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; break; } // case 490 case 498: { input.readMessage( internalGetCostOfGoodsSoldFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; break; } // case 498 case 506: @@ -17132,7 +17243,7 @@ public Builder mergeFrom( case 522: { displayAdsId_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; break; } // case 522 case 530: @@ -17145,19 +17256,19 @@ public Builder mergeFrom( case 538: { displayAdsTitle_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; break; } // case 538 case 546: { displayAdsLink_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; break; } // case 546 case 553: { displayAdsValue_ = input.readDouble(); - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; break; } // case 553 case 562: @@ -17170,31 +17281,31 @@ public Builder mergeFrom( case 570: { customLabel0_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; break; } // case 570 case 578: { customLabel1_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00008000; + bitField2_ |= 0x00010000; break; } // case 578 case 586: { customLabel2_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00010000; + bitField2_ |= 0x00020000; break; } // case 586 case 594: { customLabel3_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; break; } // case 594 case 602: { customLabel4_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; break; } // case 602 case 608: @@ -17250,25 +17361,25 @@ public Builder mergeFrom( case 640: { pickupMethod_ = input.readEnum(); - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; break; } // case 640 case 648: { pickupSla_ = input.readEnum(); - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; break; } // case 648 case 658: { linkTemplate_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; break; } // case 658 case 666: { mobileLinkTemplate_ = input.readStringRequireUtf8(); - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; break; } // case 666 case 674: @@ -17332,27 +17443,27 @@ public Builder mergeFrom( { input.readMessage( internalGetAutoPricingMinPriceFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x40000000; + bitField2_ |= 0x80000000; break; } // case 994 case 1042: { virtualModelLink_ = input.readStringRequireUtf8(); - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; break; } // case 1042 case 1058: { input.readMessage( internalGetStructuredTitleFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x10000000; + bitField2_ |= 0x20000000; break; } // case 1058 case 1066: { input.readMessage( internalGetStructuredDescriptionFieldBuilder().getBuilder(), extensionRegistry); - bitField2_ |= 0x20000000; + bitField2_ |= 0x40000000; break; } // case 1066 case 1082: @@ -17475,6 +17586,12 @@ public Builder mergeFrom( } break; } // case 1154 + case 1362: + { + returnPolicyLabel_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00100000; + break; + } // case 1362 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -17495,6 +17612,7 @@ public Builder mergeFrom( private int bitField0_; private int bitField1_; private int bitField2_; + private int bitField3_; private boolean identifierExists_; @@ -27470,8 +27588,9 @@ public Builder removeHandlingCutoffTimes(int index) { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27486,8 +27605,9 @@ public boolean hasShippingLabel() { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27510,8 +27630,9 @@ public java.lang.String getShippingLabel() { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27534,8 +27655,9 @@ public com.google.protobuf.ByteString getShippingLabelBytes() { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27557,8 +27679,9 @@ public Builder setShippingLabel(java.lang.String value) { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27576,8 +27699,9 @@ public Builder clearShippingLabel() { * * *
    -     * The shipping label of the product, used to group product in account-level
    -     * shipping rules.
    +     * The shipping label of the product, used to group products in account-level
    +     * shipping rules. Max. 100 characters. For more information, see
    +     * [Shipping label](https://support.google.com/merchants/answer/6324504).
          * 
    * * optional string shipping_label = 46; @@ -27596,6 +27720,144 @@ public Builder setShippingLabelBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object returnPolicyLabel_ = ""; + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @return Whether the returnPolicyLabel field is set. + */ + public boolean hasReturnPolicyLabel() { + return ((bitField1_ & 0x00100000) != 0); + } + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @return The returnPolicyLabel. + */ + public java.lang.String getReturnPolicyLabel() { + java.lang.Object ref = returnPolicyLabel_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + returnPolicyLabel_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @return The bytes for returnPolicyLabel. + */ + public com.google.protobuf.ByteString getReturnPolicyLabelBytes() { + java.lang.Object ref = returnPolicyLabel_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + returnPolicyLabel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @param value The returnPolicyLabel to set. + * @return This builder for chaining. + */ + public Builder setReturnPolicyLabel(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + returnPolicyLabel_ = value; + bitField1_ |= 0x00100000; + onChanged(); + return this; + } + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @return This builder for chaining. + */ + public Builder clearReturnPolicyLabel() { + returnPolicyLabel_ = getDefaultInstance().getReturnPolicyLabel(); + bitField1_ = (bitField1_ & ~0x00100000); + onChanged(); + return this; + } + + /** + * + * + *
    +     * The return label of the product, used to group products in account-level
    +     * return policies. Max. 100 characters. For more information, see
    +     * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +     * 
    + * + * optional string return_policy_label = 170; + * + * @param value The bytes for returnPolicyLabel to set. + * @return This builder for chaining. + */ + public Builder setReturnPolicyLabelBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + returnPolicyLabel_ = value; + bitField1_ |= 0x00100000; + onChanged(); + return this; + } + private java.lang.Object transitTimeLabel_ = ""; /** @@ -27611,7 +27873,7 @@ public Builder setShippingLabelBytes(com.google.protobuf.ByteString value) { * @return Whether the transitTimeLabel field is set. */ public boolean hasTransitTimeLabel() { - return ((bitField1_ & 0x00100000) != 0); + return ((bitField1_ & 0x00200000) != 0); } /** @@ -27680,7 +27942,7 @@ public Builder setTransitTimeLabel(java.lang.String value) { throw new NullPointerException(); } transitTimeLabel_ = value; - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; onChanged(); return this; } @@ -27699,7 +27961,7 @@ public Builder setTransitTimeLabel(java.lang.String value) { */ public Builder clearTransitTimeLabel() { transitTimeLabel_ = getDefaultInstance().getTransitTimeLabel(); - bitField1_ = (bitField1_ & ~0x00100000); + bitField1_ = (bitField1_ & ~0x00200000); onChanged(); return this; } @@ -27723,7 +27985,7 @@ public Builder setTransitTimeLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); transitTimeLabel_ = value; - bitField1_ |= 0x00100000; + bitField1_ |= 0x00200000; onChanged(); return this; } @@ -27745,7 +28007,7 @@ public Builder setTransitTimeLabelBytes(com.google.protobuf.ByteString value) { * @return Whether the size field is set. */ public boolean hasSize() { - return ((bitField1_ & 0x00200000) != 0); + return ((bitField1_ & 0x00400000) != 0); } /** @@ -27820,7 +28082,7 @@ public Builder setSize(java.lang.String value) { throw new NullPointerException(); } size_ = value; - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; onChanged(); return this; } @@ -27841,7 +28103,7 @@ public Builder setSize(java.lang.String value) { */ public Builder clearSize() { size_ = getDefaultInstance().getSize(); - bitField1_ = (bitField1_ & ~0x00200000); + bitField1_ = (bitField1_ & ~0x00400000); onChanged(); return this; } @@ -27867,7 +28129,7 @@ public Builder setSizeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); size_ = value; - bitField1_ |= 0x00200000; + bitField1_ |= 0x00400000; onChanged(); return this; } @@ -27889,7 +28151,7 @@ public Builder setSizeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasSizeSystem() { - return ((bitField1_ & 0x00400000) != 0); + return ((bitField1_ & 0x00800000) != 0); } /** @@ -27926,7 +28188,7 @@ public int getSizeSystemValue() { */ public Builder setSizeSystemValue(int value) { sizeSystem_ = value; - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; onChanged(); return this; } @@ -27971,7 +28233,7 @@ public Builder setSizeSystem(com.google.shopping.merchant.products.v1.SizeSystem if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00400000; + bitField1_ |= 0x00800000; sizeSystem_ = value.getNumber(); onChanged(); return this; @@ -27991,7 +28253,7 @@ public Builder setSizeSystem(com.google.shopping.merchant.products.v1.SizeSystem * @return This builder for chaining. */ public Builder clearSizeSystem() { - bitField1_ = (bitField1_ & ~0x00400000); + bitField1_ = (bitField1_ & ~0x00800000); sizeSystem_ = 0; onChanged(); return this; @@ -28003,7 +28265,7 @@ private void ensureSizeTypesIsMutable() { if (!sizeTypes_.isModifiable()) { sizeTypes_ = makeMutableCopy(sizeTypes_); } - bitField1_ |= 0x00800000; + bitField1_ |= 0x01000000; } /** @@ -28148,7 +28410,7 @@ public Builder addAllSizeTypes( */ public Builder clearSizeTypes() { sizeTypes_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00800000); + bitField1_ = (bitField1_ & ~0x01000000); onChanged(); return this; } @@ -28274,7 +28536,7 @@ public Builder addAllSizeTypesValue(java.lang.Iterable values */ @java.lang.Override public boolean hasEnergyEfficiencyClass() { - return ((bitField1_ & 0x01000000) != 0); + return ((bitField1_ & 0x02000000) != 0); } /** @@ -28315,7 +28577,7 @@ public int getEnergyEfficiencyClassValue() { */ public Builder setEnergyEfficiencyClassValue(int value) { energyEfficiencyClass_ = value; - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; onChanged(); return this; } @@ -28367,7 +28629,7 @@ public Builder setEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x01000000; + bitField1_ |= 0x02000000; energyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -28389,7 +28651,7 @@ public Builder setEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x01000000); + bitField1_ = (bitField1_ & ~0x02000000); energyEfficiencyClass_ = 0; onChanged(); return this; @@ -28414,7 +28676,7 @@ public Builder clearEnergyEfficiencyClass() { */ @java.lang.Override public boolean hasMinEnergyEfficiencyClass() { - return ((bitField1_ & 0x02000000) != 0); + return ((bitField1_ & 0x04000000) != 0); } /** @@ -28455,7 +28717,7 @@ public int getMinEnergyEfficiencyClassValue() { */ public Builder setMinEnergyEfficiencyClassValue(int value) { minEnergyEfficiencyClass_ = value; - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; onChanged(); return this; } @@ -28507,7 +28769,7 @@ public Builder setMinEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x02000000; + bitField1_ |= 0x04000000; minEnergyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -28529,7 +28791,7 @@ public Builder setMinEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearMinEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x02000000); + bitField1_ = (bitField1_ & ~0x04000000); minEnergyEfficiencyClass_ = 0; onChanged(); return this; @@ -28554,7 +28816,7 @@ public Builder clearMinEnergyEfficiencyClass() { */ @java.lang.Override public boolean hasMaxEnergyEfficiencyClass() { - return ((bitField1_ & 0x04000000) != 0); + return ((bitField1_ & 0x08000000) != 0); } /** @@ -28595,7 +28857,7 @@ public int getMaxEnergyEfficiencyClassValue() { */ public Builder setMaxEnergyEfficiencyClassValue(int value) { maxEnergyEfficiencyClass_ = value; - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; onChanged(); return this; } @@ -28647,7 +28909,7 @@ public Builder setMaxEnergyEfficiencyClass( if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x04000000; + bitField1_ |= 0x08000000; maxEnergyEfficiencyClass_ = value.getNumber(); onChanged(); return this; @@ -28669,7 +28931,7 @@ public Builder setMaxEnergyEfficiencyClass( * @return This builder for chaining. */ public Builder clearMaxEnergyEfficiencyClass() { - bitField1_ = (bitField1_ & ~0x04000000); + bitField1_ = (bitField1_ & ~0x08000000); maxEnergyEfficiencyClass_ = 0; onChanged(); return this; @@ -28695,7 +28957,7 @@ public Builder clearMaxEnergyEfficiencyClass() { * @return Whether the unitPricingMeasure field is set. */ public boolean hasUnitPricingMeasure() { - return ((bitField1_ & 0x08000000) != 0); + return ((bitField1_ & 0x10000000) != 0); } /** @@ -28740,7 +29002,7 @@ public Builder setUnitPricingMeasure( } else { unitPricingMeasureBuilder_.setMessage(value); } - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -28762,7 +29024,7 @@ public Builder setUnitPricingMeasure( } else { unitPricingMeasureBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return this; } @@ -28780,7 +29042,7 @@ public Builder setUnitPricingMeasure( public Builder mergeUnitPricingMeasure( com.google.shopping.merchant.products.v1.UnitPricingMeasure value) { if (unitPricingMeasureBuilder_ == null) { - if (((bitField1_ & 0x08000000) != 0) + if (((bitField1_ & 0x10000000) != 0) && unitPricingMeasure_ != null && unitPricingMeasure_ != com.google.shopping.merchant.products.v1.UnitPricingMeasure @@ -28793,7 +29055,7 @@ public Builder mergeUnitPricingMeasure( unitPricingMeasureBuilder_.mergeFrom(value); } if (unitPricingMeasure_ != null) { - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); } return this; @@ -28810,7 +29072,7 @@ public Builder mergeUnitPricingMeasure( * */ public Builder clearUnitPricingMeasure() { - bitField1_ = (bitField1_ & ~0x08000000); + bitField1_ = (bitField1_ & ~0x10000000); unitPricingMeasure_ = null; if (unitPricingMeasureBuilder_ != null) { unitPricingMeasureBuilder_.dispose(); @@ -28832,7 +29094,7 @@ public Builder clearUnitPricingMeasure() { */ public com.google.shopping.merchant.products.v1.UnitPricingMeasure.Builder getUnitPricingMeasureBuilder() { - bitField1_ |= 0x08000000; + bitField1_ |= 0x10000000; onChanged(); return internalGetUnitPricingMeasureFieldBuilder().getBuilder(); } @@ -28906,7 +29168,7 @@ public Builder clearUnitPricingMeasure() { * @return Whether the unitPricingBaseMeasure field is set. */ public boolean hasUnitPricingBaseMeasure() { - return ((bitField1_ & 0x10000000) != 0); + return ((bitField1_ & 0x20000000) != 0); } /** @@ -28954,7 +29216,7 @@ public Builder setUnitPricingBaseMeasure( } else { unitPricingBaseMeasureBuilder_.setMessage(value); } - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -28977,7 +29239,7 @@ public Builder setUnitPricingBaseMeasure( } else { unitPricingBaseMeasureBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return this; } @@ -28996,7 +29258,7 @@ public Builder setUnitPricingBaseMeasure( public Builder mergeUnitPricingBaseMeasure( com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure value) { if (unitPricingBaseMeasureBuilder_ == null) { - if (((bitField1_ & 0x10000000) != 0) + if (((bitField1_ & 0x20000000) != 0) && unitPricingBaseMeasure_ != null && unitPricingBaseMeasure_ != com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure @@ -29009,7 +29271,7 @@ public Builder mergeUnitPricingBaseMeasure( unitPricingBaseMeasureBuilder_.mergeFrom(value); } if (unitPricingBaseMeasure_ != null) { - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); } return this; @@ -29027,7 +29289,7 @@ public Builder mergeUnitPricingBaseMeasure( * */ public Builder clearUnitPricingBaseMeasure() { - bitField1_ = (bitField1_ & ~0x10000000); + bitField1_ = (bitField1_ & ~0x20000000); unitPricingBaseMeasure_ = null; if (unitPricingBaseMeasureBuilder_ != null) { unitPricingBaseMeasureBuilder_.dispose(); @@ -29050,7 +29312,7 @@ public Builder clearUnitPricingBaseMeasure() { */ public com.google.shopping.merchant.products.v1.UnitPricingBaseMeasure.Builder getUnitPricingBaseMeasureBuilder() { - bitField1_ |= 0x10000000; + bitField1_ |= 0x20000000; onChanged(); return internalGetUnitPricingBaseMeasureFieldBuilder().getBuilder(); } @@ -29120,7 +29382,7 @@ public Builder clearUnitPricingBaseMeasure() { */ @java.lang.Override public boolean hasMultipack() { - return ((bitField1_ & 0x20000000) != 0); + return ((bitField1_ & 0x40000000) != 0); } /** @@ -29154,7 +29416,7 @@ public long getMultipack() { public Builder setMultipack(long value) { multipack_ = value; - bitField1_ |= 0x20000000; + bitField1_ |= 0x40000000; onChanged(); return this; } @@ -29171,7 +29433,7 @@ public Builder setMultipack(long value) { * @return This builder for chaining. */ public Builder clearMultipack() { - bitField1_ = (bitField1_ & ~0x20000000); + bitField1_ = (bitField1_ & ~0x40000000); multipack_ = 0L; onChanged(); return this; @@ -29194,7 +29456,7 @@ public Builder clearMultipack() { * @return Whether the adsGrouping field is set. */ public boolean hasAdsGrouping() { - return ((bitField1_ & 0x40000000) != 0); + return ((bitField1_ & 0x80000000) != 0); } /** @@ -29269,7 +29531,7 @@ public Builder setAdsGrouping(java.lang.String value) { throw new NullPointerException(); } adsGrouping_ = value; - bitField1_ |= 0x40000000; + bitField1_ |= 0x80000000; onChanged(); return this; } @@ -29290,7 +29552,7 @@ public Builder setAdsGrouping(java.lang.String value) { */ public Builder clearAdsGrouping() { adsGrouping_ = getDefaultInstance().getAdsGrouping(); - bitField1_ = (bitField1_ & ~0x40000000); + bitField1_ = (bitField1_ & ~0x80000000); onChanged(); return this; } @@ -29316,7 +29578,7 @@ public Builder setAdsGroupingBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); adsGrouping_ = value; - bitField1_ |= 0x40000000; + bitField1_ |= 0x80000000; onChanged(); return this; } @@ -29328,7 +29590,7 @@ private void ensureAdsLabelsIsMutable() { if (!adsLabels_.isModifiable()) { adsLabels_ = new com.google.protobuf.LazyStringArrayList(adsLabels_); } - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; } /** @@ -29413,7 +29675,7 @@ public Builder setAdsLabels(int index, java.lang.String value) { } ensureAdsLabelsIsMutable(); adsLabels_.set(index, value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -29436,7 +29698,7 @@ public Builder addAdsLabels(java.lang.String value) { } ensureAdsLabelsIsMutable(); adsLabels_.add(value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -29456,7 +29718,7 @@ public Builder addAdsLabels(java.lang.String value) { public Builder addAllAdsLabels(java.lang.Iterable values) { ensureAdsLabelsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adsLabels_); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -29474,7 +29736,7 @@ public Builder addAllAdsLabels(java.lang.Iterable values) { */ public Builder clearAdsLabels() { adsLabels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField1_ = (bitField1_ & ~0x80000000); + bitField2_ = (bitField2_ & ~0x00000001); ; onChanged(); return this; @@ -29499,7 +29761,7 @@ public Builder addAdsLabelsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureAdsLabelsIsMutable(); adsLabels_.add(value); - bitField1_ |= 0x80000000; + bitField2_ |= 0x00000001; onChanged(); return this; } @@ -29519,7 +29781,7 @@ public Builder addAdsLabelsBytes(com.google.protobuf.ByteString value) { * @return Whether the adsRedirect field is set. */ public boolean hasAdsRedirect() { - return ((bitField2_ & 0x00000001) != 0); + return ((bitField2_ & 0x00000002) != 0); } /** @@ -29588,7 +29850,7 @@ public Builder setAdsRedirect(java.lang.String value) { throw new NullPointerException(); } adsRedirect_ = value; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); return this; } @@ -29607,7 +29869,7 @@ public Builder setAdsRedirect(java.lang.String value) { */ public Builder clearAdsRedirect() { adsRedirect_ = getDefaultInstance().getAdsRedirect(); - bitField2_ = (bitField2_ & ~0x00000001); + bitField2_ = (bitField2_ & ~0x00000002); onChanged(); return this; } @@ -29631,7 +29893,7 @@ public Builder setAdsRedirectBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); adsRedirect_ = value; - bitField2_ |= 0x00000001; + bitField2_ |= 0x00000002; onChanged(); return this; } @@ -29655,7 +29917,7 @@ public Builder setAdsRedirectBytes(com.google.protobuf.ByteString value) { * @return Whether the costOfGoodsSold field is set. */ public boolean hasCostOfGoodsSold() { - return ((bitField2_ & 0x00000002) != 0); + return ((bitField2_ & 0x00000004) != 0); } /** @@ -29697,7 +29959,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price value) { } else { costOfGoodsSoldBuilder_.setMessage(value); } - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -29717,7 +29979,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price.Builder builder } else { costOfGoodsSoldBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return this; } @@ -29733,7 +29995,7 @@ public Builder setCostOfGoodsSold(com.google.shopping.type.Price.Builder builder */ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { if (costOfGoodsSoldBuilder_ == null) { - if (((bitField2_ & 0x00000002) != 0) + if (((bitField2_ & 0x00000004) != 0) && costOfGoodsSold_ != null && costOfGoodsSold_ != com.google.shopping.type.Price.getDefaultInstance()) { getCostOfGoodsSoldBuilder().mergeFrom(value); @@ -29744,7 +30006,7 @@ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { costOfGoodsSoldBuilder_.mergeFrom(value); } if (costOfGoodsSold_ != null) { - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); } return this; @@ -29760,7 +30022,7 @@ public Builder mergeCostOfGoodsSold(com.google.shopping.type.Price value) { * .google.shopping.type.Price cost_of_goods_sold = 62; */ public Builder clearCostOfGoodsSold() { - bitField2_ = (bitField2_ & ~0x00000002); + bitField2_ = (bitField2_ & ~0x00000004); costOfGoodsSold_ = null; if (costOfGoodsSoldBuilder_ != null) { costOfGoodsSoldBuilder_.dispose(); @@ -29780,7 +30042,7 @@ public Builder clearCostOfGoodsSold() { * .google.shopping.type.Price cost_of_goods_sold = 62; */ public com.google.shopping.type.Price.Builder getCostOfGoodsSoldBuilder() { - bitField2_ |= 0x00000002; + bitField2_ |= 0x00000004; onChanged(); return internalGetCostOfGoodsSoldFieldBuilder().getBuilder(); } @@ -29834,11 +30096,11 @@ public com.google.shopping.type.PriceOrBuilder getCostOfGoodsSoldOrBuilder() { java.util.Collections.emptyList(); private void ensureProductDetailsIsMutable() { - if (!((bitField2_ & 0x00000004) != 0)) { + if (!((bitField2_ & 0x00000008) != 0)) { productDetails_ = new java.util.ArrayList( productDetails_); - bitField2_ |= 0x00000004; + bitField2_ |= 0x00000008; } } @@ -30079,7 +30341,7 @@ public Builder addAllProductDetails( public Builder clearProductDetails() { if (productDetailsBuilder_ == null) { productDetails_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x00000004); + bitField2_ = (bitField2_ & ~0x00000008); onChanged(); } else { productDetailsBuilder_.clear(); @@ -30221,7 +30483,7 @@ public com.google.shopping.merchant.products.v1.ProductDetail.Builder addProduct com.google.shopping.merchant.products.v1.ProductDetail.Builder, com.google.shopping.merchant.products.v1.ProductDetailOrBuilder>( productDetails_, - ((bitField2_ & 0x00000004) != 0), + ((bitField2_ & 0x00000008) != 0), getParentForChildren(), isClean()); productDetails_ = null; @@ -30236,7 +30498,7 @@ private void ensureProductHighlightsIsMutable() { if (!productHighlights_.isModifiable()) { productHighlights_ = new com.google.protobuf.LazyStringArrayList(productHighlights_); } - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; } /** @@ -30326,7 +30588,7 @@ public Builder setProductHighlights(int index, java.lang.String value) { } ensureProductHighlightsIsMutable(); productHighlights_.set(index, value); - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -30350,7 +30612,7 @@ public Builder addProductHighlights(java.lang.String value) { } ensureProductHighlightsIsMutable(); productHighlights_.add(value); - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -30371,7 +30633,7 @@ public Builder addProductHighlights(java.lang.String value) { public Builder addAllProductHighlights(java.lang.Iterable values) { ensureProductHighlightsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, productHighlights_); - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -30390,7 +30652,7 @@ public Builder addAllProductHighlights(java.lang.Iterable valu */ public Builder clearProductHighlights() { productHighlights_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00000008); + bitField2_ = (bitField2_ & ~0x00000010); ; onChanged(); return this; @@ -30416,7 +30678,7 @@ public Builder addProductHighlightsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureProductHighlightsIsMutable(); productHighlights_.add(value); - bitField2_ |= 0x00000008; + bitField2_ |= 0x00000010; onChanged(); return this; } @@ -30435,7 +30697,7 @@ public Builder addProductHighlightsBytes(com.google.protobuf.ByteString value) { * @return Whether the displayAdsId field is set. */ public boolean hasDisplayAdsId() { - return ((bitField2_ & 0x00000010) != 0); + return ((bitField2_ & 0x00000020) != 0); } /** @@ -30501,7 +30763,7 @@ public Builder setDisplayAdsId(java.lang.String value) { throw new NullPointerException(); } displayAdsId_ = value; - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; onChanged(); return this; } @@ -30519,7 +30781,7 @@ public Builder setDisplayAdsId(java.lang.String value) { */ public Builder clearDisplayAdsId() { displayAdsId_ = getDefaultInstance().getDisplayAdsId(); - bitField2_ = (bitField2_ & ~0x00000010); + bitField2_ = (bitField2_ & ~0x00000020); onChanged(); return this; } @@ -30542,7 +30804,7 @@ public Builder setDisplayAdsIdBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsId_ = value; - bitField2_ |= 0x00000010; + bitField2_ |= 0x00000020; onChanged(); return this; } @@ -30554,7 +30816,7 @@ private void ensureDisplayAdsSimilarIdsIsMutable() { if (!displayAdsSimilarIds_.isModifiable()) { displayAdsSimilarIds_ = new com.google.protobuf.LazyStringArrayList(displayAdsSimilarIds_); } - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; } /** @@ -30649,7 +30911,7 @@ public Builder setDisplayAdsSimilarIds(int index, java.lang.String value) { } ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.set(index, value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -30674,7 +30936,7 @@ public Builder addDisplayAdsSimilarIds(java.lang.String value) { } ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.add(value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -30696,7 +30958,7 @@ public Builder addDisplayAdsSimilarIds(java.lang.String value) { public Builder addAllDisplayAdsSimilarIds(java.lang.Iterable values) { ensureDisplayAdsSimilarIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, displayAdsSimilarIds_); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -30716,7 +30978,7 @@ public Builder addAllDisplayAdsSimilarIds(java.lang.Iterable v */ public Builder clearDisplayAdsSimilarIds() { displayAdsSimilarIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00000020); + bitField2_ = (bitField2_ & ~0x00000040); ; onChanged(); return this; @@ -30743,7 +31005,7 @@ public Builder addDisplayAdsSimilarIdsBytes(com.google.protobuf.ByteString value checkByteStringIsUtf8(value); ensureDisplayAdsSimilarIdsIsMutable(); displayAdsSimilarIds_.add(value); - bitField2_ |= 0x00000020; + bitField2_ |= 0x00000040; onChanged(); return this; } @@ -30762,7 +31024,7 @@ public Builder addDisplayAdsSimilarIdsBytes(com.google.protobuf.ByteString value * @return Whether the displayAdsTitle field is set. */ public boolean hasDisplayAdsTitle() { - return ((bitField2_ & 0x00000040) != 0); + return ((bitField2_ & 0x00000080) != 0); } /** @@ -30828,7 +31090,7 @@ public Builder setDisplayAdsTitle(java.lang.String value) { throw new NullPointerException(); } displayAdsTitle_ = value; - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; onChanged(); return this; } @@ -30846,7 +31108,7 @@ public Builder setDisplayAdsTitle(java.lang.String value) { */ public Builder clearDisplayAdsTitle() { displayAdsTitle_ = getDefaultInstance().getDisplayAdsTitle(); - bitField2_ = (bitField2_ & ~0x00000040); + bitField2_ = (bitField2_ & ~0x00000080); onChanged(); return this; } @@ -30869,7 +31131,7 @@ public Builder setDisplayAdsTitleBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsTitle_ = value; - bitField2_ |= 0x00000040; + bitField2_ |= 0x00000080; onChanged(); return this; } @@ -30889,7 +31151,7 @@ public Builder setDisplayAdsTitleBytes(com.google.protobuf.ByteString value) { * @return Whether the displayAdsLink field is set. */ public boolean hasDisplayAdsLink() { - return ((bitField2_ & 0x00000080) != 0); + return ((bitField2_ & 0x00000100) != 0); } /** @@ -30958,7 +31220,7 @@ public Builder setDisplayAdsLink(java.lang.String value) { throw new NullPointerException(); } displayAdsLink_ = value; - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; onChanged(); return this; } @@ -30977,7 +31239,7 @@ public Builder setDisplayAdsLink(java.lang.String value) { */ public Builder clearDisplayAdsLink() { displayAdsLink_ = getDefaultInstance().getDisplayAdsLink(); - bitField2_ = (bitField2_ & ~0x00000080); + bitField2_ = (bitField2_ & ~0x00000100); onChanged(); return this; } @@ -31001,7 +31263,7 @@ public Builder setDisplayAdsLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); displayAdsLink_ = value; - bitField2_ |= 0x00000080; + bitField2_ |= 0x00000100; onChanged(); return this; } @@ -31023,7 +31285,7 @@ public Builder setDisplayAdsLinkBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasDisplayAdsValue() { - return ((bitField2_ & 0x00000100) != 0); + return ((bitField2_ & 0x00000200) != 0); } /** @@ -31061,7 +31323,7 @@ public double getDisplayAdsValue() { public Builder setDisplayAdsValue(double value) { displayAdsValue_ = value; - bitField2_ |= 0x00000100; + bitField2_ |= 0x00000200; onChanged(); return this; } @@ -31080,7 +31342,7 @@ public Builder setDisplayAdsValue(double value) { * @return This builder for chaining. */ public Builder clearDisplayAdsValue() { - bitField2_ = (bitField2_ & ~0x00000100); + bitField2_ = (bitField2_ & ~0x00000200); displayAdsValue_ = 0D; onChanged(); return this; @@ -31093,7 +31355,7 @@ private void ensurePromotionIdsIsMutable() { if (!promotionIds_.isModifiable()) { promotionIds_ = new com.google.protobuf.LazyStringArrayList(promotionIds_); } - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; } /** @@ -31178,7 +31440,7 @@ public Builder setPromotionIds(int index, java.lang.String value) { } ensurePromotionIdsIsMutable(); promotionIds_.set(index, value); - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -31201,7 +31463,7 @@ public Builder addPromotionIds(java.lang.String value) { } ensurePromotionIdsIsMutable(); promotionIds_.add(value); - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -31221,7 +31483,7 @@ public Builder addPromotionIds(java.lang.String value) { public Builder addAllPromotionIds(java.lang.Iterable values) { ensurePromotionIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, promotionIds_); - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -31239,7 +31501,7 @@ public Builder addAllPromotionIds(java.lang.Iterable values) { */ public Builder clearPromotionIds() { promotionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x00000200); + bitField2_ = (bitField2_ & ~0x00000400); ; onChanged(); return this; @@ -31264,7 +31526,7 @@ public Builder addPromotionIdsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePromotionIdsIsMutable(); promotionIds_.add(value); - bitField2_ |= 0x00000200; + bitField2_ |= 0x00000400; onChanged(); return this; } @@ -31285,7 +31547,7 @@ public Builder addPromotionIdsBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasPickupMethod() { - return ((bitField2_ & 0x00000400) != 0); + return ((bitField2_ & 0x00000800) != 0); } /** @@ -31320,7 +31582,7 @@ public int getPickupMethodValue() { */ public Builder setPickupMethodValue(int value) { pickupMethod_ = value; - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; onChanged(); return this; } @@ -31363,7 +31625,7 @@ public Builder setPickupMethod(com.google.shopping.merchant.products.v1.PickupMe if (value == null) { throw new NullPointerException(); } - bitField2_ |= 0x00000400; + bitField2_ |= 0x00000800; pickupMethod_ = value.getNumber(); onChanged(); return this; @@ -31382,7 +31644,7 @@ public Builder setPickupMethod(com.google.shopping.merchant.products.v1.PickupMe * @return This builder for chaining. */ public Builder clearPickupMethod() { - bitField2_ = (bitField2_ & ~0x00000400); + bitField2_ = (bitField2_ & ~0x00000800); pickupMethod_ = 0; onChanged(); return this; @@ -31404,7 +31666,7 @@ public Builder clearPickupMethod() { */ @java.lang.Override public boolean hasPickupSla() { - return ((bitField2_ & 0x00000800) != 0); + return ((bitField2_ & 0x00001000) != 0); } /** @@ -31439,7 +31701,7 @@ public int getPickupSlaValue() { */ public Builder setPickupSlaValue(int value) { pickupSla_ = value; - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; onChanged(); return this; } @@ -31482,7 +31744,7 @@ public Builder setPickupSla(com.google.shopping.merchant.products.v1.PickupSla v if (value == null) { throw new NullPointerException(); } - bitField2_ |= 0x00000800; + bitField2_ |= 0x00001000; pickupSla_ = value.getNumber(); onChanged(); return this; @@ -31501,7 +31763,7 @@ public Builder setPickupSla(com.google.shopping.merchant.products.v1.PickupSla v * @return This builder for chaining. */ public Builder clearPickupSla() { - bitField2_ = (bitField2_ & ~0x00000800); + bitField2_ = (bitField2_ & ~0x00001000); pickupSla_ = 0; onChanged(); return this; @@ -31522,7 +31784,7 @@ public Builder clearPickupSla() { * @return Whether the linkTemplate field is set. */ public boolean hasLinkTemplate() { - return ((bitField2_ & 0x00001000) != 0); + return ((bitField2_ & 0x00002000) != 0); } /** @@ -31591,7 +31853,7 @@ public Builder setLinkTemplate(java.lang.String value) { throw new NullPointerException(); } linkTemplate_ = value; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); return this; } @@ -31610,7 +31872,7 @@ public Builder setLinkTemplate(java.lang.String value) { */ public Builder clearLinkTemplate() { linkTemplate_ = getDefaultInstance().getLinkTemplate(); - bitField2_ = (bitField2_ & ~0x00001000); + bitField2_ = (bitField2_ & ~0x00002000); onChanged(); return this; } @@ -31634,7 +31896,7 @@ public Builder setLinkTemplateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); linkTemplate_ = value; - bitField2_ |= 0x00001000; + bitField2_ |= 0x00002000; onChanged(); return this; } @@ -31655,7 +31917,7 @@ public Builder setLinkTemplateBytes(com.google.protobuf.ByteString value) { * @return Whether the mobileLinkTemplate field is set. */ public boolean hasMobileLinkTemplate() { - return ((bitField2_ & 0x00002000) != 0); + return ((bitField2_ & 0x00004000) != 0); } /** @@ -31727,7 +31989,7 @@ public Builder setMobileLinkTemplate(java.lang.String value) { throw new NullPointerException(); } mobileLinkTemplate_ = value; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); return this; } @@ -31747,7 +32009,7 @@ public Builder setMobileLinkTemplate(java.lang.String value) { */ public Builder clearMobileLinkTemplate() { mobileLinkTemplate_ = getDefaultInstance().getMobileLinkTemplate(); - bitField2_ = (bitField2_ & ~0x00002000); + bitField2_ = (bitField2_ & ~0x00004000); onChanged(); return this; } @@ -31772,7 +32034,7 @@ public Builder setMobileLinkTemplateBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); mobileLinkTemplate_ = value; - bitField2_ |= 0x00002000; + bitField2_ |= 0x00004000; onChanged(); return this; } @@ -31792,7 +32054,7 @@ public Builder setMobileLinkTemplateBytes(com.google.protobuf.ByteString value) * @return Whether the customLabel0 field is set. */ public boolean hasCustomLabel0() { - return ((bitField2_ & 0x00004000) != 0); + return ((bitField2_ & 0x00008000) != 0); } /** @@ -31861,7 +32123,7 @@ public Builder setCustomLabel0(java.lang.String value) { throw new NullPointerException(); } customLabel0_ = value; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); return this; } @@ -31880,7 +32142,7 @@ public Builder setCustomLabel0(java.lang.String value) { */ public Builder clearCustomLabel0() { customLabel0_ = getDefaultInstance().getCustomLabel0(); - bitField2_ = (bitField2_ & ~0x00004000); + bitField2_ = (bitField2_ & ~0x00008000); onChanged(); return this; } @@ -31904,7 +32166,7 @@ public Builder setCustomLabel0Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel0_ = value; - bitField2_ |= 0x00004000; + bitField2_ |= 0x00008000; onChanged(); return this; } @@ -31924,7 +32186,7 @@ public Builder setCustomLabel0Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel1 field is set. */ public boolean hasCustomLabel1() { - return ((bitField2_ & 0x00008000) != 0); + return ((bitField2_ & 0x00010000) != 0); } /** @@ -31993,7 +32255,7 @@ public Builder setCustomLabel1(java.lang.String value) { throw new NullPointerException(); } customLabel1_ = value; - bitField2_ |= 0x00008000; + bitField2_ |= 0x00010000; onChanged(); return this; } @@ -32012,7 +32274,7 @@ public Builder setCustomLabel1(java.lang.String value) { */ public Builder clearCustomLabel1() { customLabel1_ = getDefaultInstance().getCustomLabel1(); - bitField2_ = (bitField2_ & ~0x00008000); + bitField2_ = (bitField2_ & ~0x00010000); onChanged(); return this; } @@ -32036,7 +32298,7 @@ public Builder setCustomLabel1Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel1_ = value; - bitField2_ |= 0x00008000; + bitField2_ |= 0x00010000; onChanged(); return this; } @@ -32056,7 +32318,7 @@ public Builder setCustomLabel1Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel2 field is set. */ public boolean hasCustomLabel2() { - return ((bitField2_ & 0x00010000) != 0); + return ((bitField2_ & 0x00020000) != 0); } /** @@ -32125,7 +32387,7 @@ public Builder setCustomLabel2(java.lang.String value) { throw new NullPointerException(); } customLabel2_ = value; - bitField2_ |= 0x00010000; + bitField2_ |= 0x00020000; onChanged(); return this; } @@ -32144,7 +32406,7 @@ public Builder setCustomLabel2(java.lang.String value) { */ public Builder clearCustomLabel2() { customLabel2_ = getDefaultInstance().getCustomLabel2(); - bitField2_ = (bitField2_ & ~0x00010000); + bitField2_ = (bitField2_ & ~0x00020000); onChanged(); return this; } @@ -32168,7 +32430,7 @@ public Builder setCustomLabel2Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel2_ = value; - bitField2_ |= 0x00010000; + bitField2_ |= 0x00020000; onChanged(); return this; } @@ -32188,7 +32450,7 @@ public Builder setCustomLabel2Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel3 field is set. */ public boolean hasCustomLabel3() { - return ((bitField2_ & 0x00020000) != 0); + return ((bitField2_ & 0x00040000) != 0); } /** @@ -32257,7 +32519,7 @@ public Builder setCustomLabel3(java.lang.String value) { throw new NullPointerException(); } customLabel3_ = value; - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); return this; } @@ -32276,7 +32538,7 @@ public Builder setCustomLabel3(java.lang.String value) { */ public Builder clearCustomLabel3() { customLabel3_ = getDefaultInstance().getCustomLabel3(); - bitField2_ = (bitField2_ & ~0x00020000); + bitField2_ = (bitField2_ & ~0x00040000); onChanged(); return this; } @@ -32300,7 +32562,7 @@ public Builder setCustomLabel3Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel3_ = value; - bitField2_ |= 0x00020000; + bitField2_ |= 0x00040000; onChanged(); return this; } @@ -32320,7 +32582,7 @@ public Builder setCustomLabel3Bytes(com.google.protobuf.ByteString value) { * @return Whether the customLabel4 field is set. */ public boolean hasCustomLabel4() { - return ((bitField2_ & 0x00040000) != 0); + return ((bitField2_ & 0x00080000) != 0); } /** @@ -32389,7 +32651,7 @@ public Builder setCustomLabel4(java.lang.String value) { throw new NullPointerException(); } customLabel4_ = value; - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; onChanged(); return this; } @@ -32408,7 +32670,7 @@ public Builder setCustomLabel4(java.lang.String value) { */ public Builder clearCustomLabel4() { customLabel4_ = getDefaultInstance().getCustomLabel4(); - bitField2_ = (bitField2_ & ~0x00040000); + bitField2_ = (bitField2_ & ~0x00080000); onChanged(); return this; } @@ -32432,7 +32694,7 @@ public Builder setCustomLabel4Bytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); customLabel4_ = value; - bitField2_ |= 0x00040000; + bitField2_ |= 0x00080000; onChanged(); return this; } @@ -32443,7 +32705,7 @@ private void ensureIncludedDestinationsIsMutable() { if (!includedDestinations_.isModifiable()) { includedDestinations_ = makeMutableCopy(includedDestinations_); } - bitField2_ |= 0x00080000; + bitField2_ |= 0x00100000; } /** @@ -32647,7 +32909,7 @@ public Builder addAllIncludedDestinations( */ public Builder clearIncludedDestinations() { includedDestinations_ = emptyIntList(); - bitField2_ = (bitField2_ & ~0x00080000); + bitField2_ = (bitField2_ & ~0x00100000); onChanged(); return this; } @@ -32800,7 +33062,7 @@ private void ensureExcludedDestinationsIsMutable() { if (!excludedDestinations_.isModifiable()) { excludedDestinations_ = makeMutableCopy(excludedDestinations_); } - bitField2_ |= 0x00100000; + bitField2_ |= 0x00200000; } /** @@ -32997,7 +33259,7 @@ public Builder addAllExcludedDestinations( */ public Builder clearExcludedDestinations() { excludedDestinations_ = emptyIntList(); - bitField2_ = (bitField2_ & ~0x00100000); + bitField2_ = (bitField2_ & ~0x00200000); onChanged(); return this; } @@ -33147,7 +33409,7 @@ private void ensureShoppingAdsExcludedCountriesIsMutable() { shoppingAdsExcludedCountries_ = new com.google.protobuf.LazyStringArrayList(shoppingAdsExcludedCountries_); } - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; } /** @@ -33247,7 +33509,7 @@ public Builder setShoppingAdsExcludedCountries(int index, java.lang.String value } ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.set(index, value); - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; onChanged(); return this; } @@ -33273,7 +33535,7 @@ public Builder addShoppingAdsExcludedCountries(java.lang.String value) { } ensureShoppingAdsExcludedCountriesIsMutable(); shoppingAdsExcludedCountries_.add(value); - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; onChanged(); return this; } @@ -33296,7 +33558,7 @@ public Builder addShoppingAdsExcludedCountries(java.lang.String value) { public Builder addAllShoppingAdsExcludedCountries(java.lang.Iterable values) { ensureShoppingAdsExcludedCountriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shoppingAdsExcludedCountries_); - bitField2_ |= 0x00200000; + bitField2_ |= 0x00400000; onChanged(); return this; } @@ -33317,7 +33579,7 @@ public Builder addAllShoppingAdsExcludedCountries(java.lang.Iterable values) { ensureLifestyleImageLinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, lifestyleImageLinks_); - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); return this; } @@ -33782,7 +34044,7 @@ public Builder addAllLifestyleImageLinks(java.lang.Iterable va */ public Builder clearLifestyleImageLinks() { lifestyleImageLinks_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField2_ = (bitField2_ & ~0x01000000); + bitField2_ = (bitField2_ & ~0x02000000); ; onChanged(); return this; @@ -33810,7 +34072,7 @@ public Builder addLifestyleImageLinksBytes(com.google.protobuf.ByteString value) checkByteStringIsUtf8(value); ensureLifestyleImageLinksIsMutable(); lifestyleImageLinks_.add(value); - bitField2_ |= 0x01000000; + bitField2_ |= 0x02000000; onChanged(); return this; } @@ -33819,12 +34081,12 @@ public Builder addLifestyleImageLinksBytes(com.google.protobuf.ByteString value) cloudExportAdditionalProperties_ = java.util.Collections.emptyList(); private void ensureCloudExportAdditionalPropertiesIsMutable() { - if (!((bitField2_ & 0x02000000) != 0)) { + if (!((bitField2_ & 0x04000000) != 0)) { cloudExportAdditionalProperties_ = new java.util.ArrayList< com.google.shopping.merchant.products.v1.CloudExportAdditionalProperties>( cloudExportAdditionalProperties_); - bitField2_ |= 0x02000000; + bitField2_ |= 0x04000000; } } @@ -34085,7 +34347,7 @@ public Builder addAllCloudExportAdditionalProperties( public Builder clearCloudExportAdditionalProperties() { if (cloudExportAdditionalPropertiesBuilder_ == null) { cloudExportAdditionalProperties_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x02000000); + bitField2_ = (bitField2_ & ~0x04000000); onChanged(); } else { cloudExportAdditionalPropertiesBuilder_.clear(); @@ -34241,7 +34503,7 @@ public Builder removeCloudExportAdditionalProperties(int index) { com.google.shopping.merchant.products.v1.CloudExportAdditionalProperties.Builder, com.google.shopping.merchant.products.v1.CloudExportAdditionalPropertiesOrBuilder>( cloudExportAdditionalProperties_, - ((bitField2_ & 0x02000000) != 0), + ((bitField2_ & 0x04000000) != 0), getParentForChildren(), isClean()); cloudExportAdditionalProperties_ = null; @@ -34265,7 +34527,7 @@ public Builder removeCloudExportAdditionalProperties(int index) { * @return Whether the virtualModelLink field is set. */ public boolean hasVirtualModelLink() { - return ((bitField2_ & 0x04000000) != 0); + return ((bitField2_ & 0x08000000) != 0); } /** @@ -34337,7 +34599,7 @@ public Builder setVirtualModelLink(java.lang.String value) { throw new NullPointerException(); } virtualModelLink_ = value; - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); return this; } @@ -34357,7 +34619,7 @@ public Builder setVirtualModelLink(java.lang.String value) { */ public Builder clearVirtualModelLink() { virtualModelLink_ = getDefaultInstance().getVirtualModelLink(); - bitField2_ = (bitField2_ & ~0x04000000); + bitField2_ = (bitField2_ & ~0x08000000); onChanged(); return this; } @@ -34382,7 +34644,7 @@ public Builder setVirtualModelLinkBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); virtualModelLink_ = value; - bitField2_ |= 0x04000000; + bitField2_ |= 0x08000000; onChanged(); return this; } @@ -34391,11 +34653,11 @@ public Builder setVirtualModelLinkBytes(com.google.protobuf.ByteString value) { certifications_ = java.util.Collections.emptyList(); private void ensureCertificationsIsMutable() { - if (!((bitField2_ & 0x08000000) != 0)) { + if (!((bitField2_ & 0x10000000) != 0)) { certifications_ = new java.util.ArrayList( certifications_); - bitField2_ |= 0x08000000; + bitField2_ |= 0x10000000; } } @@ -34695,7 +34957,7 @@ public Builder addAllCertifications( public Builder clearCertifications() { if (certificationsBuilder_ == null) { certifications_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x08000000); + bitField2_ = (bitField2_ & ~0x10000000); onChanged(); } else { certificationsBuilder_.clear(); @@ -34875,7 +35137,7 @@ public Builder removeCertifications(int index) { com.google.shopping.merchant.products.v1.ProductCertification.Builder, com.google.shopping.merchant.products.v1.ProductCertificationOrBuilder>( certifications_, - ((bitField2_ & 0x08000000) != 0), + ((bitField2_ & 0x10000000) != 0), getParentForChildren(), isClean()); certifications_ = null; @@ -34903,7 +35165,7 @@ public Builder removeCertifications(int index) { * @return Whether the structuredTitle field is set. */ public boolean hasStructuredTitle() { - return ((bitField2_ & 0x10000000) != 0); + return ((bitField2_ & 0x20000000) != 0); } /** @@ -34948,7 +35210,7 @@ public Builder setStructuredTitle( } else { structuredTitleBuilder_.setMessage(value); } - bitField2_ |= 0x10000000; + bitField2_ |= 0x20000000; onChanged(); return this; } @@ -34970,7 +35232,7 @@ public Builder setStructuredTitle( } else { structuredTitleBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x10000000; + bitField2_ |= 0x20000000; onChanged(); return this; } @@ -34988,7 +35250,7 @@ public Builder setStructuredTitle( public Builder mergeStructuredTitle( com.google.shopping.merchant.products.v1.StructuredTitle value) { if (structuredTitleBuilder_ == null) { - if (((bitField2_ & 0x10000000) != 0) + if (((bitField2_ & 0x20000000) != 0) && structuredTitle_ != null && structuredTitle_ != com.google.shopping.merchant.products.v1.StructuredTitle.getDefaultInstance()) { @@ -35000,7 +35262,7 @@ public Builder mergeStructuredTitle( structuredTitleBuilder_.mergeFrom(value); } if (structuredTitle_ != null) { - bitField2_ |= 0x10000000; + bitField2_ |= 0x20000000; onChanged(); } return this; @@ -35017,7 +35279,7 @@ public Builder mergeStructuredTitle( * */ public Builder clearStructuredTitle() { - bitField2_ = (bitField2_ & ~0x10000000); + bitField2_ = (bitField2_ & ~0x20000000); structuredTitle_ = null; if (structuredTitleBuilder_ != null) { structuredTitleBuilder_.dispose(); @@ -35039,7 +35301,7 @@ public Builder clearStructuredTitle() { */ public com.google.shopping.merchant.products.v1.StructuredTitle.Builder getStructuredTitleBuilder() { - bitField2_ |= 0x10000000; + bitField2_ |= 0x20000000; onChanged(); return internalGetStructuredTitleFieldBuilder().getBuilder(); } @@ -35113,7 +35375,7 @@ public Builder clearStructuredTitle() { * @return Whether the structuredDescription field is set. */ public boolean hasStructuredDescription() { - return ((bitField2_ & 0x20000000) != 0); + return ((bitField2_ & 0x40000000) != 0); } /** @@ -35161,7 +35423,7 @@ public Builder setStructuredDescription( } else { structuredDescriptionBuilder_.setMessage(value); } - bitField2_ |= 0x20000000; + bitField2_ |= 0x40000000; onChanged(); return this; } @@ -35184,7 +35446,7 @@ public Builder setStructuredDescription( } else { structuredDescriptionBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x20000000; + bitField2_ |= 0x40000000; onChanged(); return this; } @@ -35203,7 +35465,7 @@ public Builder setStructuredDescription( public Builder mergeStructuredDescription( com.google.shopping.merchant.products.v1.StructuredDescription value) { if (structuredDescriptionBuilder_ == null) { - if (((bitField2_ & 0x20000000) != 0) + if (((bitField2_ & 0x40000000) != 0) && structuredDescription_ != null && structuredDescription_ != com.google.shopping.merchant.products.v1.StructuredDescription @@ -35216,7 +35478,7 @@ public Builder mergeStructuredDescription( structuredDescriptionBuilder_.mergeFrom(value); } if (structuredDescription_ != null) { - bitField2_ |= 0x20000000; + bitField2_ |= 0x40000000; onChanged(); } return this; @@ -35234,7 +35496,7 @@ public Builder mergeStructuredDescription( * */ public Builder clearStructuredDescription() { - bitField2_ = (bitField2_ & ~0x20000000); + bitField2_ = (bitField2_ & ~0x40000000); structuredDescription_ = null; if (structuredDescriptionBuilder_ != null) { structuredDescriptionBuilder_.dispose(); @@ -35257,7 +35519,7 @@ public Builder clearStructuredDescription() { */ public com.google.shopping.merchant.products.v1.StructuredDescription.Builder getStructuredDescriptionBuilder() { - bitField2_ |= 0x20000000; + bitField2_ |= 0x40000000; onChanged(); return internalGetStructuredDescriptionFieldBuilder().getBuilder(); } @@ -35336,7 +35598,7 @@ public Builder clearStructuredDescription() { * @return Whether the autoPricingMinPrice field is set. */ public boolean hasAutoPricingMinPrice() { - return ((bitField2_ & 0x40000000) != 0); + return ((bitField2_ & 0x80000000) != 0); } /** @@ -35388,7 +35650,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price value) { } else { autoPricingMinPriceBuilder_.setMessage(value); } - bitField2_ |= 0x40000000; + bitField2_ |= 0x80000000; onChanged(); return this; } @@ -35413,7 +35675,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price.Builder bui } else { autoPricingMinPriceBuilder_.setMessage(builderForValue.build()); } - bitField2_ |= 0x40000000; + bitField2_ |= 0x80000000; onChanged(); return this; } @@ -35434,7 +35696,7 @@ public Builder setAutoPricingMinPrice(com.google.shopping.type.Price.Builder bui */ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { if (autoPricingMinPriceBuilder_ == null) { - if (((bitField2_ & 0x40000000) != 0) + if (((bitField2_ & 0x80000000) != 0) && autoPricingMinPrice_ != null && autoPricingMinPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { getAutoPricingMinPriceBuilder().mergeFrom(value); @@ -35445,7 +35707,7 @@ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { autoPricingMinPriceBuilder_.mergeFrom(value); } if (autoPricingMinPrice_ != null) { - bitField2_ |= 0x40000000; + bitField2_ |= 0x80000000; onChanged(); } return this; @@ -35466,7 +35728,7 @@ public Builder mergeAutoPricingMinPrice(com.google.shopping.type.Price value) { * .google.shopping.type.Price auto_pricing_min_price = 124; */ public Builder clearAutoPricingMinPrice() { - bitField2_ = (bitField2_ & ~0x40000000); + bitField2_ = (bitField2_ & ~0x80000000); autoPricingMinPrice_ = null; if (autoPricingMinPriceBuilder_ != null) { autoPricingMinPriceBuilder_.dispose(); @@ -35491,7 +35753,7 @@ public Builder clearAutoPricingMinPrice() { * .google.shopping.type.Price auto_pricing_min_price = 124; */ public com.google.shopping.type.Price.Builder getAutoPricingMinPriceBuilder() { - bitField2_ |= 0x40000000; + bitField2_ |= 0x80000000; onChanged(); return internalGetAutoPricingMinPriceFieldBuilder().getBuilder(); } @@ -35555,12 +35817,12 @@ public com.google.shopping.type.PriceOrBuilder getAutoPricingMinPriceOrBuilder() sustainabilityIncentives_ = java.util.Collections.emptyList(); private void ensureSustainabilityIncentivesIsMutable() { - if (!((bitField2_ & 0x80000000) != 0)) { + if (!((bitField3_ & 0x00000001) != 0)) { sustainabilityIncentives_ = new java.util.ArrayList< com.google.shopping.merchant.products.v1.ProductSustainabilityIncentive>( sustainabilityIncentives_); - bitField2_ |= 0x80000000; + bitField3_ |= 0x00000001; } } @@ -35820,7 +36082,7 @@ public Builder addAllSustainabilityIncentives( public Builder clearSustainabilityIncentives() { if (sustainabilityIncentivesBuilder_ == null) { sustainabilityIncentives_ = java.util.Collections.emptyList(); - bitField2_ = (bitField2_ & ~0x80000000); + bitField3_ = (bitField3_ & ~0x00000001); onChanged(); } else { sustainabilityIncentivesBuilder_.clear(); @@ -35976,7 +36238,7 @@ public Builder removeSustainabilityIncentives(int index) { com.google.shopping.merchant.products.v1.ProductSustainabilityIncentive.Builder, com.google.shopping.merchant.products.v1.ProductSustainabilityIncentiveOrBuilder>( sustainabilityIncentives_, - ((bitField2_ & 0x80000000) != 0), + ((bitField3_ & 0x00000001) != 0), getParentForChildren(), isClean()); sustainabilityIncentives_ = null; diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java index 32a3956dc2f3..4a05870adc9b 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductAttributesOrBuilder.java @@ -2288,8 +2288,9 @@ com.google.shopping.merchant.products.v1.FreeShippingThreshold getFreeShippingTh * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -2302,8 +2303,9 @@ com.google.shopping.merchant.products.v1.FreeShippingThreshold getFreeShippingTh * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -2316,8 +2318,9 @@ com.google.shopping.merchant.products.v1.FreeShippingThreshold getFreeShippingTh * * *
    -   * The shipping label of the product, used to group product in account-level
    -   * shipping rules.
    +   * The shipping label of the product, used to group products in account-level
    +   * shipping rules. Max. 100 characters. For more information, see
    +   * [Shipping label](https://support.google.com/merchants/answer/6324504).
        * 
    * * optional string shipping_label = 46; @@ -2326,6 +2329,51 @@ com.google.shopping.merchant.products.v1.FreeShippingThreshold getFreeShippingTh */ com.google.protobuf.ByteString getShippingLabelBytes(); + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return Whether the returnPolicyLabel field is set. + */ + boolean hasReturnPolicyLabel(); + + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return The returnPolicyLabel. + */ + java.lang.String getReturnPolicyLabel(); + + /** + * + * + *
    +   * The return label of the product, used to group products in account-level
    +   * return policies. Max. 100 characters. For more information, see
    +   * [Return policy label](https://support.google.com/merchants/answer/9445425).
    +   * 
    + * + * optional string return_policy_label = 170; + * + * @return The bytes for returnPolicyLabel. + */ + com.google.protobuf.ByteString getReturnPolicyLabelBytes(); + /** * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInput.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInput.java index cb31dbb65a4d..3b71e15ad318 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInput.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInput.java @@ -78,7 +78,9 @@ private ProductInput(com.google.protobuf.GeneratedMessage.Builder builder) { private ProductInput() { name_ = ""; + base64EncodedName_ = ""; product_ = ""; + base64EncodedProduct_ = ""; offerId_ = ""; contentLanguage_ = ""; feedLabel_ = ""; @@ -129,10 +131,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -144,10 +146,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -190,10 +188,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -205,10 +203,6 @@ public java.lang.String getName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -228,6 +222,77 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int BASE64_ENCODED_NAME_FIELD_NUMBER = 12; + + @SuppressWarnings("serial") + private volatile java.lang.Object base64EncodedName_ = ""; + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product input.
    +   * Format:
    +   * `accounts/{account}/productInputs/{productinput}` where the last
    +   * section `productinput` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +   * can be used directly as input to the API methods that require the product
    +   * input name to be encoded if it contains special characters, for example
    +   * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +   * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + @java.lang.Override + public java.lang.String getBase64EncodedName() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedName_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product input.
    +   * Format:
    +   * `accounts/{account}/productInputs/{productinput}` where the last
    +   * section `productinput` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +   * can be used directly as input to the API methods that require the product
    +   * input name to be encoded if it contains special characters, for example
    +   * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +   * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBase64EncodedNameBytes() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int PRODUCT_FIELD_NUMBER = 2; @SuppressWarnings("serial") @@ -283,6 +348,75 @@ public com.google.protobuf.ByteString getProductBytes() { } } + public static final int BASE64_ENCODED_PRODUCT_FIELD_NUMBER = 13; + + @SuppressWarnings("serial") + private volatile java.lang.Object base64EncodedProduct_ = ""; + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the processed
    +   * product. Format: `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +   * directly as input to the API methods that require the product name to be
    +   * encoded if it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedProduct. + */ + @java.lang.Override + public java.lang.String getBase64EncodedProduct() { + java.lang.Object ref = base64EncodedProduct_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedProduct_ = s; + return s; + } + } + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the processed
    +   * product. Format: `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +   * directly as input to the API methods that require the product name to be
    +   * encoded if it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedProduct. + */ + @java.lang.Override + public com.google.protobuf.ByteString getBase64EncodedProductBytes() { + java.lang.Object ref = base64EncodedProduct_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedProduct_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int LEGACY_LOCAL_FIELD_NUMBER = 10; private boolean legacyLocal_ = false; @@ -805,6 +939,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(11, getProductAttributes()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, base64EncodedName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedProduct_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 13, base64EncodedProduct_); + } getUnknownFields().writeTo(output); } @@ -841,6 +981,12 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getProductAttributes()); } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, base64EncodedName_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(base64EncodedProduct_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(13, base64EncodedProduct_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -858,7 +1004,9 @@ public boolean equals(final java.lang.Object obj) { (com.google.shopping.merchant.products.v1.ProductInput) obj; if (!getName().equals(other.getName())) return false; + if (!getBase64EncodedName().equals(other.getBase64EncodedName())) return false; if (!getProduct().equals(other.getProduct())) return false; + if (!getBase64EncodedProduct().equals(other.getBase64EncodedProduct())) return false; if (getLegacyLocal() != other.getLegacyLocal()) return false; if (!getOfferId().equals(other.getOfferId())) return false; if (!getContentLanguage().equals(other.getContentLanguage())) return false; @@ -885,8 +1033,12 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + BASE64_ENCODED_NAME_FIELD_NUMBER; + hash = (53 * hash) + getBase64EncodedName().hashCode(); hash = (37 * hash) + PRODUCT_FIELD_NUMBER; hash = (53 * hash) + getProduct().hashCode(); + hash = (37 * hash) + BASE64_ENCODED_PRODUCT_FIELD_NUMBER; + hash = (53 * hash) + getBase64EncodedProduct().hashCode(); hash = (37 * hash) + LEGACY_LOCAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLegacyLocal()); hash = (37 * hash) + OFFER_ID_FIELD_NUMBER; @@ -1084,7 +1236,9 @@ public Builder clear() { super.clear(); bitField0_ = 0; name_ = ""; + base64EncodedName_ = ""; product_ = ""; + base64EncodedProduct_ = ""; legacyLocal_ = false; offerId_ = ""; contentLanguage_ = ""; @@ -1101,7 +1255,7 @@ public Builder clear() { customAttributes_ = null; customAttributesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); return this; } @@ -1140,9 +1294,9 @@ public com.google.shopping.merchant.products.v1.ProductInput buildPartial() { private void buildPartialRepeatedFields( com.google.shopping.merchant.products.v1.ProductInput result) { if (customAttributesBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { customAttributes_ = java.util.Collections.unmodifiableList(customAttributes_); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); } result.customAttributes_ = customAttributes_; } else { @@ -1156,26 +1310,32 @@ private void buildPartial0(com.google.shopping.merchant.products.v1.ProductInput result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.product_ = product_; + result.base64EncodedName_ = base64EncodedName_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.legacyLocal_ = legacyLocal_; + result.product_ = product_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.offerId_ = offerId_; + result.base64EncodedProduct_ = base64EncodedProduct_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.contentLanguage_ = contentLanguage_; + result.legacyLocal_ = legacyLocal_; } if (((from_bitField0_ & 0x00000020) != 0)) { + result.offerId_ = offerId_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.contentLanguage_ = contentLanguage_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { result.feedLabel_ = feedLabel_; } int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000040) != 0)) { + if (((from_bitField0_ & 0x00000100) != 0)) { result.versionNumber_ = versionNumber_; to_bitField0_ |= 0x00000001; } - if (((from_bitField0_ & 0x00000080) != 0)) { + if (((from_bitField0_ & 0x00000200) != 0)) { result.productAttributes_ = productAttributesBuilder_ == null ? productAttributes_ @@ -1203,9 +1363,19 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductInput o bitField0_ |= 0x00000001; onChanged(); } + if (!other.getBase64EncodedName().isEmpty()) { + base64EncodedName_ = other.base64EncodedName_; + bitField0_ |= 0x00000002; + onChanged(); + } if (!other.getProduct().isEmpty()) { product_ = other.product_; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getBase64EncodedProduct().isEmpty()) { + base64EncodedProduct_ = other.base64EncodedProduct_; + bitField0_ |= 0x00000008; onChanged(); } if (other.getLegacyLocal() != false) { @@ -1213,17 +1383,17 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductInput o } if (!other.getOfferId().isEmpty()) { offerId_ = other.offerId_; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); } if (!other.getContentLanguage().isEmpty()) { contentLanguage_ = other.contentLanguage_; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); } if (!other.getFeedLabel().isEmpty()) { feedLabel_ = other.feedLabel_; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasVersionNumber()) { @@ -1236,7 +1406,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductInput o if (!other.customAttributes_.isEmpty()) { if (customAttributes_.isEmpty()) { customAttributes_ = other.customAttributes_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); } else { ensureCustomAttributesIsMutable(); customAttributes_.addAll(other.customAttributes_); @@ -1249,7 +1419,7 @@ public Builder mergeFrom(com.google.shopping.merchant.products.v1.ProductInput o customAttributesBuilder_.dispose(); customAttributesBuilder_ = null; customAttributes_ = other.customAttributes_; - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); customAttributesBuilder_ = com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? internalGetCustomAttributesFieldBuilder() @@ -1294,31 +1464,31 @@ public Builder mergeFrom( case 18: { product_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; break; } // case 18 case 34: { offerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; break; } // case 34 case 42: { contentLanguage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; break; } // case 42 case 50: { feedLabel_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; break; } // case 50 case 56: { versionNumber_ = input.readInt64(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; break; } // case 56 case 74: @@ -1337,16 +1507,28 @@ public Builder mergeFrom( case 80: { legacyLocal_ = input.readBool(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; break; } // case 80 case 90: { input.readMessage( internalGetProductAttributesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; break; } // case 90 + case 98: + { + base64EncodedName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 98 + case 106: + { + base64EncodedProduct_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 106 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1391,10 +1573,10 @@ public Builder mergeFrom( * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -1406,10 +1588,6 @@ public Builder mergeFrom( * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -1451,10 +1629,10 @@ public java.lang.String getName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -1466,10 +1644,6 @@ public java.lang.String getName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -1511,10 +1685,10 @@ public com.google.protobuf.ByteString getNameBytes() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -1526,10 +1700,6 @@ public com.google.protobuf.ByteString getNameBytes() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -1570,10 +1740,10 @@ public Builder setName(java.lang.String value) { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -1585,10 +1755,6 @@ public Builder setName(java.lang.String value) { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -1625,10 +1791,10 @@ public Builder clearName() { * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -1640,10 +1806,6 @@ public Builder clearName() { * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -1662,6 +1824,162 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object base64EncodedName_ = ""; + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product input.
    +     * Format:
    +     * `accounts/{account}/productInputs/{productinput}` where the last
    +     * section `productinput` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +     * can be used directly as input to the API methods that require the product
    +     * input name to be encoded if it contains special characters, for example
    +     * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +     * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + public java.lang.String getBase64EncodedName() { + java.lang.Object ref = base64EncodedName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product input.
    +     * Format:
    +     * `accounts/{account}/productInputs/{productinput}` where the last
    +     * section `productinput` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +     * can be used directly as input to the API methods that require the product
    +     * input name to be encoded if it contains special characters, for example
    +     * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +     * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + public com.google.protobuf.ByteString getBase64EncodedNameBytes() { + java.lang.Object ref = base64EncodedName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product input.
    +     * Format:
    +     * `accounts/{account}/productInputs/{productinput}` where the last
    +     * section `productinput` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +     * can be used directly as input to the API methods that require the product
    +     * input name to be encoded if it contains special characters, for example
    +     * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +     * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The base64EncodedName to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + base64EncodedName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product input.
    +     * Format:
    +     * `accounts/{account}/productInputs/{productinput}` where the last
    +     * section `productinput` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +     * can be used directly as input to the API methods that require the product
    +     * input name to be encoded if it contains special characters, for example
    +     * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +     * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearBase64EncodedName() { + base64EncodedName_ = getDefaultInstance().getBase64EncodedName(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the product input.
    +     * Format:
    +     * `accounts/{account}/productInputs/{productinput}` where the last
    +     * section `productinput` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +     * can be used directly as input to the API methods that require the product
    +     * input name to be encoded if it contains special characters, for example
    +     * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +     * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for base64EncodedName to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + base64EncodedName_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + private java.lang.Object product_ = ""; /** @@ -1730,7 +2048,7 @@ public Builder setProduct(java.lang.String value) { throw new NullPointerException(); } product_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -1749,7 +2067,7 @@ public Builder setProduct(java.lang.String value) { */ public Builder clearProduct() { product_ = getDefaultInstance().getProduct(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -1773,7 +2091,158 @@ public Builder setProductBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); product_ = value; - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object base64EncodedProduct_ = ""; + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the processed
    +     * product. Format: `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +     * directly as input to the API methods that require the product name to be
    +     * encoded if it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedProduct. + */ + public java.lang.String getBase64EncodedProduct() { + java.lang.Object ref = base64EncodedProduct_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + base64EncodedProduct_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the processed
    +     * product. Format: `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +     * directly as input to the API methods that require the product name to be
    +     * encoded if it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedProduct. + */ + public com.google.protobuf.ByteString getBase64EncodedProductBytes() { + java.lang.Object ref = base64EncodedProduct_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + base64EncodedProduct_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the processed
    +     * product. Format: `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +     * directly as input to the API methods that require the product name to be
    +     * encoded if it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The base64EncodedProduct to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedProduct(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + base64EncodedProduct_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the processed
    +     * product. Format: `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +     * directly as input to the API methods that require the product name to be
    +     * encoded if it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return This builder for chaining. + */ + public Builder clearBase64EncodedProduct() { + base64EncodedProduct_ = getDefaultInstance().getBase64EncodedProduct(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + /** + * + * + *
    +     * Output only. The **unpadded base64url encoded name** of the processed
    +     * product. Format: `accounts/{account}/products/{product}` where the last
    +     * section `product` is the unpadded base64url encoding of the
    +     * `content_language~feed_label~offer_id` name.
    +     * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +     * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +     * directly as input to the API methods that require the product name to be
    +     * encoded if it contains special characters, for example
    +     * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +     * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @param value The bytes for base64EncodedProduct to set. + * @return This builder for chaining. + */ + public Builder setBase64EncodedProductBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + base64EncodedProduct_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1823,7 +2292,7 @@ public boolean getLegacyLocal() { public Builder setLegacyLocal(boolean value) { legacyLocal_ = value; - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -1846,7 +2315,7 @@ public Builder setLegacyLocal(boolean value) { * @return This builder for chaining. */ public Builder clearLegacyLocal() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000010); legacyLocal_ = false; onChanged(); return this; @@ -1938,7 +2407,7 @@ public Builder setOfferId(java.lang.String value) { throw new NullPointerException(); } offerId_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -1963,7 +2432,7 @@ public Builder setOfferId(java.lang.String value) { */ public Builder clearOfferId() { offerId_ = getDefaultInstance().getOfferId(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -1993,7 +2462,7 @@ public Builder setOfferIdBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); offerId_ = value; - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -2075,7 +2544,7 @@ public Builder setContentLanguage(java.lang.String value) { throw new NullPointerException(); } contentLanguage_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2097,7 +2566,7 @@ public Builder setContentLanguage(java.lang.String value) { */ public Builder clearContentLanguage() { contentLanguage_ = getDefaultInstance().getContentLanguage(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -2124,7 +2593,7 @@ public Builder setContentLanguageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); contentLanguage_ = value; - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -2212,7 +2681,7 @@ public Builder setFeedLabel(java.lang.String value) { throw new NullPointerException(); } feedLabel_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2236,7 +2705,7 @@ public Builder setFeedLabel(java.lang.String value) { */ public Builder clearFeedLabel() { feedLabel_ = getDefaultInstance().getFeedLabel(); - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -2265,7 +2734,7 @@ public Builder setFeedLabelBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); feedLabel_ = value; - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2301,7 +2770,7 @@ public Builder setFeedLabelBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasVersionNumber() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** @@ -2367,7 +2836,7 @@ public long getVersionNumber() { public Builder setVersionNumber(long value) { versionNumber_ = value; - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -2400,7 +2869,7 @@ public Builder setVersionNumber(long value) { * @return This builder for chaining. */ public Builder clearVersionNumber() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); versionNumber_ = 0L; onChanged(); return this; @@ -2427,7 +2896,7 @@ public Builder clearVersionNumber() { * @return Whether the productAttributes field is set. */ public boolean hasProductAttributes() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** @@ -2474,7 +2943,7 @@ public Builder setProductAttributes( } else { productAttributesBuilder_.setMessage(value); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2497,7 +2966,7 @@ public Builder setProductAttributes( } else { productAttributesBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2516,7 +2985,7 @@ public Builder setProductAttributes( public Builder mergeProductAttributes( com.google.shopping.merchant.products.v1.ProductAttributes value) { if (productAttributesBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) + if (((bitField0_ & 0x00000200) != 0) && productAttributes_ != null && productAttributes_ != com.google.shopping.merchant.products.v1.ProductAttributes @@ -2529,7 +2998,7 @@ public Builder mergeProductAttributes( productAttributesBuilder_.mergeFrom(value); } if (productAttributes_ != null) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); } return this; @@ -2547,7 +3016,7 @@ public Builder mergeProductAttributes( * */ public Builder clearProductAttributes() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); productAttributes_ = null; if (productAttributesBuilder_ != null) { productAttributesBuilder_.dispose(); @@ -2570,7 +3039,7 @@ public Builder clearProductAttributes() { */ public com.google.shopping.merchant.products.v1.ProductAttributes.Builder getProductAttributesBuilder() { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; onChanged(); return internalGetProductAttributesFieldBuilder().getBuilder(); } @@ -2629,10 +3098,10 @@ public Builder clearProductAttributes() { java.util.Collections.emptyList(); private void ensureCustomAttributesIsMutable() { - if (!((bitField0_ & 0x00000100) != 0)) { + if (!((bitField0_ & 0x00000400) != 0)) { customAttributes_ = new java.util.ArrayList(customAttributes_); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; } } @@ -2990,7 +3459,7 @@ public Builder addAllCustomAttributes( public Builder clearCustomAttributes() { if (customAttributesBuilder_ == null) { customAttributes_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { customAttributesBuilder_.clear(); @@ -3205,7 +3674,7 @@ public com.google.shopping.type.CustomAttribute.Builder addCustomAttributesBuild com.google.shopping.type.CustomAttribute.Builder, com.google.shopping.type.CustomAttributeOrBuilder>( customAttributes_, - ((bitField0_ & 0x00000100) != 0), + ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); customAttributes_ = null; diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputOrBuilder.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputOrBuilder.java index ff93fcbc668b..8d3ac062ff58 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputOrBuilder.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputOrBuilder.java @@ -49,10 +49,10 @@ public interface ProductInputOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -64,10 +64,6 @@ public interface ProductInputOrBuilder * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -99,10 +95,10 @@ public interface ProductInputOrBuilder * MUST be used if any part of the product identifier (like `offer_id`) * contains characters such as `/`, `%`, or `~`. * * Example: To represent the product ID `en~US~sku/123`, the - * `{productinput}` segment must be the base64url encoding of this - * string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + * `{productinput}` segment must be the unpadded base64url encoding of + * this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name * for the product would be - * `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + * `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. * * 2. **Plain Format**: The `{productinput}` segment is the tilde-separated * string @@ -114,10 +110,6 @@ public interface ProductInputOrBuilder * correct parsing, especially those containing special characters. The * presence of tilde (`~`) characters in the `{productinput}` segment is used * to differentiate between the two formats. - * - * Note: For calls to the v1beta version, the plain format is - * `channel~content_language~feed_label~offer_id`, for example: - * `accounts/123/productinputs/online~en~US~sku123`. * * * string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; @@ -126,6 +118,50 @@ public interface ProductInputOrBuilder */ com.google.protobuf.ByteString getNameBytes(); + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product input.
    +   * Format:
    +   * `accounts/{account}/productInputs/{productinput}` where the last
    +   * section `productinput` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +   * can be used directly as input to the API methods that require the product
    +   * input name to be encoded if it contains special characters, for example
    +   * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +   * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + java.lang.String getBase64EncodedName(); + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product input.
    +   * Format:
    +   * `accounts/{account}/productInputs/{productinput}` where the last
    +   * section `productinput` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product input name `accounts/123/productInputs/en~US~sku/123`. This field
    +   * can be used directly as input to the API methods that require the product
    +   * input name to be encoded if it contains special characters, for example
    +   * [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get).
    +   * 
    + * + * string base64_encoded_name = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + com.google.protobuf.ByteString getBase64EncodedNameBytes(); + /** * * @@ -154,6 +190,48 @@ public interface ProductInputOrBuilder */ com.google.protobuf.ByteString getProductBytes(); + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the processed
    +   * product. Format: `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +   * directly as input to the API methods that require the product name to be
    +   * encoded if it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedProduct. + */ + java.lang.String getBase64EncodedProduct(); + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the processed
    +   * product. Format: `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded
    +   * product name `accounts/123/products/en~US~sku/123`. This field can be used
    +   * directly as input to the API methods that require the product name to be
    +   * encoded if it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_product = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedProduct. + */ + com.google.protobuf.ByteString getBase64EncodedProductBytes(); + /** * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsProto.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsProto.java index bf9cbc5740f8..5dbaa144214d 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsProto.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductInputsProto.java @@ -73,33 +73,36 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ource.proto\032\033google/protobuf/empty.proto\032" + " google/protobuf/field_mask.proto\032:goog" + "le/shopping/merchant/products/v1/products_common.proto\032" - + " google/shopping/type/types.proto\"\377\003\n" + + " google/shopping/type/types.proto\"\306\004\n" + "\014ProductInput\022\021\n" - + "\004name\030\001 \001(\tB\003\340A\010\022\024\n" - + "\007product\030\002 \001(\tB\003\340A\003\022\031\n" + + "\004name\030\001 \001(\tB\003\340A\010\022 \n" + + "\023base64_encoded_name\030\014 \001(\tB\003\340A\003\022\024\n" + + "\007product\030\002 \001(\tB\003\340A\003\022#\n" + + "\026base64_encoded_product\030\r" + + " \001(\tB\003\340A\003\022\031\n" + "\014legacy_local\030\n" + " \001(\010B\003\340A\005\022\030\n" + "\010offer_id\030\004 \001(\tB\006\340A\002\340A\005\022 \n" + "\020content_language\030\005 \001(\tB\006\340A\002\340A\005\022\032\n\n" + "feed_label\030\006 \001(\tB\006\340A\002\340A\005\022#\n" + "\016version_number\030\007 \001(\003B\006\340A\001\340A\005H\000\210\001\001\022X\n" - + "\022product_attributes\030\013" - + " \001(\01327.google.shopping.merchant.products.v1.ProductAttributesB\003\340A\001\022E\n" + + "\022product_attributes\030\013 \001(\01327." + + "google.shopping.merchant.products.v1.ProductAttributesB\003\340A\001\022E\n" + "\021custom_attributes\030\t" + " \003(\0132%.google.shopping.type.CustomAttributeB\003\340A\001:z\352Aw\n" - + "\'merchantapi.go" - + "ogleapis.com/ProductInput\022/accounts/{account}/productInputs/{productinput}*\r" + + "\'merchantapi.googleapis." + + "com/ProductInput\022/accounts/{account}/productInputs/{productinput}*\r" + "productInputs2\014productInputB\021\n" + "\017_version_number\"\301\001\n" + "\031InsertProductInputRequest\022:\n" - + "\006parent\030\001 \001(" - + "\tB*\340A\002\372A$\022\"merchantapi.googleapis.com/Product\022N\n\r" - + "product_input\030\002 \001(\01322.go" - + "ogle.shopping.merchant.products.v1.ProductInputB\003\340A\002\022\030\n" + + "\006parent\030\001 \001(\tB" + + "*\340A\002\372A$\022\"merchantapi.googleapis.com/Product\022N\n\r" + + "product_input\030\002 \001(\01322.google.shop" + + "ping.merchant.products.v1.ProductInputB\003\340A\002\022\030\n" + "\013data_source\030\003 \001(\tB\003\340A\002\"\273\001\n" + "\031UpdateProductInputRequest\022N\n\r" - + "product_input\030\001" - + " \001(\01322.google.shopping.merchant.products.v1.ProductInputB\003\340A\002\0224\n" + + "product_input\030\001 \001" + + "(\01322.google.shopping.merchant.products.v1.ProductInputB\003\340A\002\0224\n" + "\013update_mask\030\002" + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\001\022\030\n" + "\013data_source\030\003 \001(\tB\003\340A\002\"t\n" @@ -108,26 +111,26 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\'merchantapi.googleapis.com/ProductInput\022\030\n" + "\013data_source\030\002 \001(\tB\003\340A\0022\345\005\n" + "\024ProductInputsService\022\327\001\n" - + "\022InsertProductInput\022?.google.shopping.merchant.products.v1.Insert" - + "ProductInputRequest\0322.google.shopping.me" - + "rchant.products.v1.ProductInput\"L\202\323\344\223\002F\"" - + "5/products/v1/{parent=accounts/*}/productInputs:insert:\r" + + "\022InsertProductInput\022?.google.shopping.merchant.products.v1.InsertProductIn" + + "putRequest\0322.google.shopping.merchant.pr" + + "oducts.v1.ProductInput\"L\202\323\344\223\002F\"5/product" + + "s/v1/{parent=accounts/*}/productInputs:insert:\r" + "product_input\022\372\001\n" - + "\022UpdateProductInput\022?.google.shopping.merchant." - + "products.v1.UpdateProductInputRequest\0322.google.shopping.merchant.products.v1.Pro" - + "ductInput\"o\332A\031product_input,update_mask\202" - + "\323\344\223\002M2 + * Output only. The **unpadded base64url encoded name** of the product. + * Format: + * `accounts/{account}/products/{product}` where the last + * section `product` is the unpadded base64url encoding of the + * `content_language~feed_label~offer_id` name. + * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product + * name `accounts/123/products/en~US~sku/123`. This field can be used directly + * as input to the API methods that require the product name to be encoded if + * it contains special characters, for example + * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get). + * + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The base64EncodedName. + */ + java.lang.String getBase64EncodedName(); + + /** + * + * + *
    +   * Output only. The **unpadded base64url encoded name** of the product.
    +   * Format:
    +   * `accounts/{account}/products/{product}` where the last
    +   * section `product` is the unpadded base64url encoding of the
    +   * `content_language~feed_label~offer_id` name.
    +   * Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product
    +   * name `accounts/123/products/en~US~sku/123`. This field can be used directly
    +   * as input to the API methods that require the product name to be encoded if
    +   * it contains special characters, for example
    +   * [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get).
    +   * 
    + * + * string base64_encoded_name = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for base64EncodedName. + */ + com.google.protobuf.ByteString getBase64EncodedNameBytes(); + /** * * diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java index 8a6cee100c38..481333f7470c 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsCommonProto.java @@ -157,7 +157,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ":google/shopping/merchant/products/v1/products_common.proto\022$google.shopping.me" + "rchant.products.v1\032\037google/api/field_beh" + "avior.proto\032\037google/protobuf/timestamp.proto\032" - + " google/shopping/type/types.proto\032\032google/type/interval.proto\"\266D\n" + + " google/shopping/type/types.proto\032\032google/type/interval.proto\"\361D\n" + "\021ProductAttributes\022\036\n" + "\021identifier_exists\030\004 \001(\010H\000\210\001\001\022\026\n" + "\tis_bundle\030\005 \001(\010H\001\210\001\001\022\022\n" @@ -233,68 +233,71 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + ".merchant.products.v1.ProductAttributes.ShippingBusinessDaysConfig\022X\n" + "\025handling_cutoff_times\030\215\001" + " \003(\01328.google.shopping.merchant.products.v1.HandlingCutoffTime\022\033\n" - + "\016shipping_label\030. \001(\tH\027\210\001\001\022\037\n" - + "\022transit_time_label\030/ \001(\tH\030\210\001\001\022\021\n" - + "\004size\0300 \001(\tH\031\210\001\001\022J\n" + + "\016shipping_label\030. \001(\tH\027\210\001\001\022!\n" + + "\023return_policy_label\030\252\001 \001(\tH\030\210\001\001\022\037\n" + + "\022transit_time_label\030/ \001(\tH\031\210\001\001\022\021\n" + + "\004size\0300 \001(\tH\032\210\001\001\022J\n" + "\013size_system\0301" - + " \001(\01620.google.shopping.merchant.products.v1.SizeSystemH\032\210\001\001\022B\n\n" + + " \001(\01620.google.shopping.merchant.products.v1.SizeSystemH\033\210\001\001\022B\n\n" + "size_types\0302 \003(\0162..google.shopping.merchant.products.v1.SizeType\022a\n" - + "\027energy_efficiency_class\0305 \001(\0162;.google.shopping.merchan" - + "t.products.v1.EnergyEfficiencyClassH\033\210\001\001\022e\n" - + "\033min_energy_efficiency_class\0306 \001(\0162;." - + "google.shopping.merchant.products.v1.EnergyEfficiencyClassH\034\210\001\001\022e\n" - + "\033max_energy_efficiency_class\0307 \001(\0162;.google.shopping.m" - + "erchant.products.v1.EnergyEfficiencyClassH\035\210\001\001\022V\n" - + "\024unit_pricing_measure\0308 \001(\01328.g" - + "oogle.shopping.merchant.products.v1.UnitPricingMeasure\022_\n" + + "\027energy_efficiency_class\0305" + + " \001(\0162;.google.shopping.merchant.products.v1.EnergyEfficiencyClassH\034\210\001\001\022e\n" + + "\033min_energy_efficiency_class\0306 \001(\0162;.googl" + + "e.shopping.merchant.products.v1.EnergyEfficiencyClassH\035\210\001\001\022e\n" + + "\033max_energy_efficiency_class\0307 \001(\0162;.google.shopping.mercha" + + "nt.products.v1.EnergyEfficiencyClassH\036\210\001\001\022V\n" + + "\024unit_pricing_measure\0308 \001(\01328.google" + + ".shopping.merchant.products.v1.UnitPricingMeasure\022_\n" + "\031unit_pricing_base_measure\0309" + " \001(\0132<.google.shopping.merchant.products.v1.UnitPricingBaseMeasure\022\026\n" - + "\tmultipack\030: \001(\003H\036\210\001\001\022\031\n" - + "\014ads_grouping\030; \001(\tH\037\210\001\001\022\022\n\n" + + "\tmultipack\030: \001(\003H\037\210\001\001\022\031\n" + + "\014ads_grouping\030; \001(\tH \210\001\001\022\022\n" + + "\n" + "ads_labels\030< \003(\t\022\031\n" - + "\014ads_redirect\030= \001(\tH \210\001\001\0227\n" + + "\014ads_redirect\030= \001(\tH!\210\001\001\0227\n" + "\022cost_of_goods_sold\030> \001(\0132\033.google.shopping.type.Price\022L\n" + "\017product_details\030?" + " \003(\01323.google.shopping.merchant.products.v1.ProductDetail\022\032\n" + "\022product_highlights\030@ \003(\t\022\033\n" - + "\016display_ads_id\030A \001(\tH!\210\001\001\022\037\n" + + "\016display_ads_id\030A \001(\tH\"\210\001\001\022\037\n" + "\027display_ads_similar_ids\030B \003(\t\022\036\n" - + "\021display_ads_title\030C \001(\tH\"\210\001\001\022\035\n" - + "\020display_ads_link\030D \001(\tH#\210\001\001\022\036\n" - + "\021display_ads_value\030E \001(\001H$\210\001\001\022\025\n\r" + + "\021display_ads_title\030C \001(\tH#\210\001\001\022\035\n" + + "\020display_ads_link\030D \001(\tH$\210\001\001\022\036\n" + + "\021display_ads_value\030E \001(\001H%\210\001\001\022\025\n\r" + "promotion_ids\030F \003(\t\022N\n\r" + "pickup_method\030P" - + " \001(\01622.google.shopping.merchant.products.v1.PickupMethodH%\210\001\001\022H\n\n" + + " \001(\01622.google.shopping.merchant.products.v1.PickupMethodH&\210\001\001\022H\n\n" + "pickup_sla\030Q" - + " \001(\0162/.google.shopping.merchant.products.v1.PickupSlaH&\210\001\001\022\032\n\r" - + "link_template\030R \001(\tH\'\210\001\001\022!\n" - + "\024mobile_link_template\030S \001(\tH(\210\001\001\022\033\n" - + "\016custom_label_0\030G \001(\tH)\210\001\001\022\033\n" - + "\016custom_label_1\030H \001(\tH*\210\001\001\022\033\n" - + "\016custom_label_2\030I \001(\tH+\210\001\001\022\033\n" - + "\016custom_label_3\030J \001(\tH,\210\001\001\022\033\n" - + "\016custom_label_4\030K \001(\tH-\210\001\001\022P\n" + + " \001(\0162/.google.shopping.merchant.products.v1.PickupSlaH\'\210\001\001\022\032\n\r" + + "link_template\030R \001(\tH(\210\001\001\022!\n" + + "\024mobile_link_template\030S \001(\tH)\210\001\001\022\033\n" + + "\016custom_label_0\030G \001(\tH*\210\001\001\022\033\n" + + "\016custom_label_1\030H \001(\tH+\210\001\001\022\033\n" + + "\016custom_label_2\030I \001(\tH,\210\001\001\022\033\n" + + "\016custom_label_3\030J \001(\tH-\210\001\001\022\033\n" + + "\016custom_label_4\030K \001(\tH.\210\001\001\022P\n" + "\025included_destinations\030L" + " \003(\01621.google.shopping.type.Destination.DestinationEnum\022P\n" - + "\025excluded_destinations\030M \003(\01621.google.sho" - + "pping.type.Destination.DestinationEnum\022\'\n" + + "\025excluded_destinations\030M" + + " \003(\01621.google.shopping.type.Destination.DestinationEnum\022\'\n" + "\037shopping_ads_excluded_countries\030N \003(\t\022\037\n" - + "\022external_seller_id\030\001 \001(\tH.\210\001\001\022?\n" + + "\022external_seller_id\030\001 \001(\tH/\210\001\001\022?\n" + "\005pause\030\r" - + " \001(\0162+.google.shopping.merchant.products.v1.PauseH/\210\001\001\022\035\n" + + " \001(\0162+.google.shopping.merchant.products.v1.PauseH0\210\001\001\022\035\n" + "\025lifestyle_image_links\030\016 \003(\t\022q\n" - + "\"cloud_export_additional_properties\030T \003(\0132E.google.shopping.merchant." - + "products.v1.CloudExportAdditionalProperties\022 \n" - + "\022virtual_model_link\030\202\001 \001(\tH0\210\001\001\022R\n" - + "\016certifications\030{ \003(\0132:.google.shopping." - + "merchant.products.v1.ProductCertification\022U\n" - + "\020structured_title\030\204\001 \001(\01325.google.sh" - + "opping.merchant.products.v1.StructuredTitleH1\210\001\001\022a\n" - + "\026structured_description\030\205\001 \001(" - + "\0132;.google.shopping.merchant.products.v1.StructuredDescriptionH2\210\001\001\022;\n" + + "\"cloud_export_additional_properties\030T" + + " \003(\0132E.google.shopping.merchant.products.v1.CloudExportAdditionalProperties\022" + + " \n" + + "\022virtual_model_link\030\202\001 \001(\tH1\210\001\001\022R\n" + + "\016certifications\030{" + + " \003(\0132:.google.shopping.merchant.products.v1.ProductCertification\022U\n" + + "\020structured_title\030\204\001 \001(\01325.google.shoppin" + + "g.merchant.products.v1.StructuredTitleH2\210\001\001\022a\n" + + "\026structured_description\030\205\001 \001(\0132;.g" + + "oogle.shopping.merchant.products.v1.StructuredDescriptionH3\210\001\001\022;\n" + "\026auto_pricing_min_price\030| \001(\0132\033.google.shopping.type.Price\022h\n" - + "\031sustainability_incentives\030\212\001" - + " \003(\0132D.google.shopping.merchant.products.v1.ProductSustainabilityIncentive\032l\n" + + "\031sustainability_incentives\030\212\001 \003(\0132" + + "D.google.shopping.merchant.products.v1.ProductSustainabilityIncentive\032l\n" + "\032ShippingBusinessDaysConfig\022\024\n" + "\007country\030\001 \001(\tH\000\210\001\001\022\032\n\r" + "business_days\030\002 \001(\tH\001\210\001\001B\n\n" @@ -306,8 +309,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\013postal_code\030\003 \001(\tH\002\210\001\001\022\037\n" + "\022origin_postal_code\030\004 \001(\tH\003\210\001\001\0224\n\n" + "flat_price\030\005 \001(\0132\033.google.shopping.type.PriceH\004\210\001\001\022f\n\r" - + "carrier_price\030\006 \001(\0162J.google.shoppin" - + "g.merchant.products.v1.ProductAttributes.CarrierPriceOptionH\005\210\001\001\022G\n" + + "carrier_price\030\006 \001(\0162J.google.shopping.mer" + + "chant.products.v1.ProductAttributes.CarrierPriceOptionH\005\210\001\001\022G\n" + "\035carrier_price_flat_adjustment\030\007" + " \001(\0132\033.google.shopping.type.PriceH\006\210\001\001\0220\n" + "#carrier_price_percentage_adjustment\030\010 \001(\001H\007\210\001\001\022\036\n" @@ -318,8 +321,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\210\001\001\022#\n" + "\026fixed_max_transit_time\030\014 \001(\003H\013\210\001\001\022a\n" + "\024carrier_transit_time\030\r" - + " \001(\0162>.go" - + "ogle.shopping.merchant.products.v1.CarrierTransitTimeOptionH\014\210\001\001B\n\n" + + " \001(\0162>.google." + + "shopping.merchant.products.v1.CarrierTransitTimeOptionH\014\210\001\001B\n\n" + "\010_countryB\t\n" + "\007_regionB\016\n" + "\014_postal_codeB\025\n" @@ -421,7 +424,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030_sell_on_google_quantityB\024\n" + "\022_max_handling_timeB\024\n" + "\022_min_handling_timeB\021\n" - + "\017_shipping_labelB\025\n" + + "\017_shipping_labelB\026\n" + + "\024_return_policy_labelB\025\n" + "\023_transit_time_labelB\007\n" + "\005_sizeB\016\n" + "\014_size_systemB\032\n" @@ -462,8 +466,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005value\030\001 \001(\001\022\014\n" + "\004unit\030\002 \001(\t\"\240\001\n" + "\020SubscriptionCost\022H\n" - + "\006period\030\001 \001(\01628.google.sho" - + "pping.merchant.products.v1.SubscriptionPeriod\022\025\n\r" + + "\006period\030\001" + + " \001(\01628.google.shopping.merchant.products.v1.SubscriptionPeriod\022\025\n\r" + "period_length\030\002 \001(\003\022+\n" + "\006amount\030\003 \001(\0132\033.google.shopping.type.Price\"\364\001\n" + "\022ProductInstallment\022\016\n" @@ -471,8 +475,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006amount\030\002 \001(\0132\033.google.shopping.type.Price\0225\n" + "\013downpayment\030\003" + " \001(\0132\033.google.shopping.type.PriceH\000\210\001\001\022J\n" - + "\013credit_type\030\004 \001(\01620.goog" - + "le.shopping.merchant.products.v1.CreditTypeH\001\210\001\001B\016\n" + + "\013credit_type\030\004" + + " \001(\01620.google.shopping.merchant.products.v1.CreditTypeH\001\210\001\001B\016\n" + "\014_downpaymentB\016\n" + "\014_credit_type\"B\n\r" + "LoyaltyPoints\022\014\n" @@ -529,10 +533,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\016attribute_name\030\002 \001(\t\022\027\n" + "\017attribute_value\030\003 \001(\t\"\371\002\n" + "\024ProductCertification\022b\n" - + "\027certification_authority\030\001 " - + "\001(\0162<.google.shopping.merchant.products.v1.CertificationAuthorityH\000\210\001\001\022X\n" - + "\022certification_name\030\002 \001(\01627.google.shopping.mer" - + "chant.products.v1.CertificationNameH\001\210\001\001\022\037\n" + + "\027certification_authority\030\001 \001(\0162<.google.shopping" + + ".merchant.products.v1.CertificationAuthorityH\000\210\001\001\022X\n" + + "\022certification_name\030\002 \001(\01627." + + "google.shopping.merchant.products.v1.CertificationNameH\001\210\001\001\022\037\n" + "\022certification_code\030\003 \001(\tH\002\210\001\001\022 \n" + "\023certification_value\030\004 \001(\tH\003\210\001\001B\032\n" + "\030_certification_authorityB\025\n" @@ -540,14 +544,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023_certification_codeB\026\n" + "\024_certification_value\"\246\001\n" + "\017StructuredTitle\022Y\n" - + "\023digital_source_type\030\001" - + " \001(\01627.google.shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + + "\023digital_source_type\030\001 \001(\01627.goog" + + "le.shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + "\007content\030\002 \001(\tH\001\210\001\001B\026\n" + "\024_digital_source_typeB\n\n" + "\010_content\"\254\001\n" + "\025StructuredDescription\022Y\n" - + "\023digital_source_type\030\001 \001(\01627.google.s" - + "hopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + + "\023digital_source_type\030\001" + + " \001(\01627.google.shopping.merchant.products.v1.DigitalSourceTypeH\000\210\001\001\022\024\n" + "\007content\030\002 \001(\tH\001\210\001\001B\026\n" + "\024_digital_source_typeB\n\n" + "\010_content\"9\n" @@ -558,28 +562,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005value\030\001 \001(\001B\003\340A\002\022\021\n" + "\004unit\030\002 \001(\tB\003\340A\002\"\353\007\n\r" + "ProductStatus\022c\n" - + "\024destination_statuses\030\003 \003(\0132E.googl" - + "e.shopping.merchant.products.v1.ProductStatus.DestinationStatus\022]\n" - + "\021item_level_issues\030\004 \003(\0132B.google.shopping.merchant.pr" - + "oducts.v1.ProductStatus.ItemLevelIssue\0221\n\r" + + "\024destination_statuses\030\003 \003(\0132E.google.shopping.merchant.p" + + "roducts.v1.ProductStatus.DestinationStatus\022]\n" + + "\021item_level_issues\030\004 \003(\0132B.google.s" + + "hopping.merchant.products.v1.ProductStatus.ItemLevelIssue\0221\n\r" + "creation_date\030\005 \001(\0132\032.google.protobuf.Timestamp\0224\n" + "\020last_update_date\030\006 \001(\0132\032.google.protobuf.Timestamp\022:\n" + "\026google_expiration_date\030\007" + " \001(\0132\032.google.protobuf.Timestamp\032\301\001\n" + "\021DestinationStatus\022V\n" - + "\021reporting_context\030\001" - + " \001(\0162;.google.shopping.type.ReportingContext.ReportingContextEnum\022\032\n" + + "\021reporting_context\030\001 \001(\0162;.google" + + ".shopping.type.ReportingContext.ReportingContextEnum\022\032\n" + "\022approved_countries\030\002 \003(\t\022\031\n" + "\021pending_countries\030\003 \003(\t\022\035\n" + "\025disapproved_countries\030\004 \003(\t\032\254\003\n" + "\016ItemLevelIssue\022\014\n" + "\004code\030\001 \001(\t\022]\n" - + "\010severity\030\002 \001(\0162K.google.shopping.merchant.pr" - + "oducts.v1.ProductStatus.ItemLevelIssue.Severity\022\022\n\n" + + "\010severity\030\002 \001(\0162K.google.s" + + "hopping.merchant.products.v1.ProductStatus.ItemLevelIssue.Severity\022\022\n\n" + "resolution\030\003 \001(\t\022\021\n" + "\tattribute\030\004 \001(\t\022V\n" - + "\021reporting_context\030\005 \001(\0162;.goog" - + "le.shopping.type.ReportingContext.ReportingContextEnum\022\023\n" + + "\021reporting_context\030\005" + + " \001(\0162;.google.shopping.type.ReportingContext.ReportingContextEnum\022\023\n" + "\013description\030\006 \001(\t\022\016\n" + "\006detail\030\007 \001(\t\022\025\n\r" + "documentation\030\010 \001(\t\022\034\n" @@ -600,14 +604,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\tunit_code\030\010 \001(\tH\004\210\001\001B\020\n" + "\016_property_nameB\r\n" + "\013_bool_valueB\014\n\n" - + "_min_valueB\014\n\n" + + "_min_valueB\014\n" + + "\n" + "_max_valueB\014\n\n" + "_unit_code\"\235\002\n" + "\036ProductSustainabilityIncentive\022-\n" + "\006amount\030\002 \001(\0132\033.google.shopping.type.PriceH\000\022\024\n\n" + "percentage\030\003 \001(\001H\000\022\\\n" - + "\004type\030\001 \001(\0162I.google.shopping.merchant.products" - + ".v1.ProductSustainabilityIncentive.TypeH\001\210\001\001\"F\n" + + "\004type\030\001 \001(\0162I.google.shoppin" + + "g.merchant.products.v1.ProductSustainabilityIncentive.TypeH\001\210\001\001\"F\n" + "\004Type\022\024\n" + "\020TYPE_UNSPECIFIED\020\000\022\021\n\r" + "EV_TAX_CREDIT\020\001\022\025\n" @@ -654,8 +659,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\006Gender\022\026\n" + "\022GENDER_UNSPECIFIED\020\000\022\010\n" + "\004MALE\020\001\022\n\n" - + "\006FEMALE\020\002\022\n" - + "\n" + + "\006FEMALE\020\002\022\n\n" + "\006UNISEX\020\003*A\n\n" + "CreditType\022\033\n" + "\027CREDIT_TYPE_UNSPECIFIED\020\000\022\013\n" @@ -761,25 +765,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\023FEDEX_HOME_DELIVERY\020\025\022\027\n" + "\023FEDEX_EXPRESS_SAVER\020\026\022\031\n" + "\025FEDEX_FIRST_OVERNIGHT\020\027\022\034\n" - + "\030FEDEX_PRIORITY_OVERNIGHT\020\030\022\034\n" - + "\030FEDEX_STANDARD_OVERNIGHT\020\031\022\016\n\n" - + "FEDEX_2DAY\020\032\022\023\n" - + "\017UPS_2", - "ND_DAY_AIR\020\033\022\022\n\016UPS_2ND_DAY_AM\020\034\022\024\n\020UPS_" - + "3_DAY_SELECT\020\035\022\016\n\nUPS_GROUND\020\036\022\024\n\020UPS_NE" - + "XT_DAY_AIR\020\037\022\035\n\031UPS_NEXT_DAY_AIR_EARLY_A" - + "M\020 \022\032\n\026UPS_NEXT_DAY_AIR_SAVER\020!\022\036\n\032USPS_" - + "PRIORITY_MAIL_EXPRESS\020\"\022\023\n\017USPS_MEDIA_MA" - + "IL\020#\022 \n\034USPS_GROUND_ADVANTAGE_RETAIL\020$\022\026" - + "\n\022USPS_PRIORITY_MAIL\020%\022$\n USPS_GROUND_AD" - + "VANTAGE_COMMERCIAL\020&\022\031\n\025USPS_FIRST_CLASS" - + "_MAIL\020\'B\206\002\n(com.google.shopping.merchant" - + ".products.v1B\023ProductsCommonProtoP\001ZJclo" - + "ud.google.com/go/shopping/merchant/produ" - + "cts/apiv1/productspb;productspb\252\002$Google" - + ".Shopping.Merchant.Products.V1\312\002$Google\\" - + "Shopping\\Merchant\\Products\\V1\352\002(Google::" - + "Shopping::Merchant::Products::V1b\006proto3" + + "\030FEDEX_PRIORITY_OVERNIG", + "HT\020\030\022\034\n\030FEDEX_STANDARD_OVERNIGHT\020\031\022\016\n\nFE" + + "DEX_2DAY\020\032\022\023\n\017UPS_2ND_DAY_AIR\020\033\022\022\n\016UPS_2" + + "ND_DAY_AM\020\034\022\024\n\020UPS_3_DAY_SELECT\020\035\022\016\n\nUPS" + + "_GROUND\020\036\022\024\n\020UPS_NEXT_DAY_AIR\020\037\022\035\n\031UPS_N" + + "EXT_DAY_AIR_EARLY_AM\020 \022\032\n\026UPS_NEXT_DAY_A" + + "IR_SAVER\020!\022\036\n\032USPS_PRIORITY_MAIL_EXPRESS" + + "\020\"\022\023\n\017USPS_MEDIA_MAIL\020#\022 \n\034USPS_GROUND_A" + + "DVANTAGE_RETAIL\020$\022\026\n\022USPS_PRIORITY_MAIL\020" + + "%\022$\n USPS_GROUND_ADVANTAGE_COMMERCIAL\020&\022" + + "\031\n\025USPS_FIRST_CLASS_MAIL\020\'B\206\002\n(com.googl" + + "e.shopping.merchant.products.v1B\023Product" + + "sCommonProtoP\001ZJcloud.google.com/go/shop" + + "ping/merchant/products/apiv1/productspb;" + + "productspb\252\002$Google.Shopping.Merchant.Pr" + + "oducts.V1\312\002$Google\\Shopping\\Merchant\\Pro" + + "ducts\\V1\352\002(Google::Shopping::Merchant::P" + + "roducts::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -848,6 +851,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ShippingTransitBusinessDays", "HandlingCutoffTimes", "ShippingLabel", + "ReturnPolicyLabel", "TransitTimeLabel", "Size", "SizeSystem", diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsProto.java b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsProto.java index 6519a38cd12c..65c917ab9553 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsProto.java +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/java/com/google/shopping/merchant/products/v1/ProductsProto.java @@ -65,60 +65,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\n" - + "3google/shopping/merchant/products/v1/products.proto\022$google.shopping.merchant." + "\n3google/shopping/merchant/products/v1/p" + + "roducts.proto\022$google.shopping.merchant." + "products.v1\032\034google/api/annotations.prot" + "o\032\027google/api/client.proto\032\037google/api/f" + "ield_behavior.proto\032\031google/api/resource" - + ".proto\032:google/shopping/merchant/products/v1/products_common.proto\032" - + " google/shopping/type/types.proto\"\357\004\n" - + "\007Product\022\014\n" - + "\004name\030\001 \001(\t\022\031\n" - + "\014legacy_local\030\013 \001(\010B\003\340A\003\022\025\n" - + "\010offer_id\030\003 \001(\tB\003\340A\003\022\035\n" - + "\020content_language\030\004 \001(\tB\003\340A\003\022\027\n\n" - + "feed_label\030\005 \001(\tB\003\340A\003\022\030\n" - + "\013data_source\030\006 \001(\tB\003\340A\003\022 \n" - + "\016version_number\030\007 \001(\003B\003\340A\003H\000\210\001\001\022X\n" - + "\022product_attributes\030\r" - + " \001(\013" - + "27.google.shopping.merchant.products.v1.ProductAttributesB\003\340A\003\022E\n" - + "\021custom_attributes\030\t" - + " \003(\0132%.google.shopping.type.CustomAttributeB\003\340A\003\022P\n" - + "\016product_status\030\n" - + " \001(\01323.google.shopping.merchant.products.v1.ProductStatusB\003\340A\003\022Z\n" - + "\023automated_discounts\030\014" - + " \001(\01328.google.shopping.merchant.products.v1.AutomatedDiscountsB\003\340A\003:N\352AK\n" - + "\"merchantapi.googleapis.com/Product\022%accounts/{account}/products/{product}B\021\n" - + "\017_version_number\"M\n" - + "\021GetProductRequest\0228\n" - + "\004name\030\001 \001(\tB*\340A\002\372A$\n" - + "\"merchantapi.googleapis.com/Product\"x\n" - + "\023ListProductsRequest\022:\n" - + "\006parent\030\001 \001(" - + "\tB*\340A\002\372A$\022\"merchantapi.googleapis.com/Product\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\"p\n" - + "\024ListProductsResponse\022?\n" - + "\010products\030\001" - + " \003(\0132-.google.shopping.merchant.products.v1.Product\022\027\n" - + "\017next_page_token\030\002 \001(\t2\317\003\n" - + "\017ProductsService\022\256\001\n\n" - + "GetProduct\0227.google.shopping.merchant.products.v1.GetP" - + "roductRequest\032-.google.shopping.merchant" - + ".products.v1.Product\"8\332A\004name\202\323\344\223\002+\022)/pr" - + "oducts/v1/{name=accounts/*/products/*}\022\301\001\n" - + "\014ListProducts\0229.google.shopping.mercha" - + "nt.products.v1.ListProductsRequest\032:.google.shopping.merchant.products.v1.ListPr" - + "oductsResponse\":\332A\006parent\202\323\344\223\002+\022)/produc" - + "ts/v1/{parent=accounts/*}/products\032G\312A\032m" - + "erchantapi.googleapis.com\322A\'https://www.googleapis.com/auth/contentB\273\002\n" - + "(com.google.shopping.merchant.products.v1B\r" - + "ProductsProtoP\001ZJcloud.google.com/go/shopping/" - + "merchant/products/apiv1/productspb;productspb\252\002$Google.Shopping.Merchant.Product" - + "s.V1\312\002$Google\\Shopping\\Merchant\\Products" - + "\\V1\352\002(Google::Shopping::Merchant::Products::V1\352A8\n" - + "\"merchantapi.googleapis.com/Account\022\022accounts/{account}b\006proto3" + + ".proto\032:google/shopping/merchant/product" + + "s/v1/products_common.proto\032 google/shopp" + + "ing/type/types.proto\"\221\005\n\007Product\022\014\n\004name" + + "\030\001 \001(\t\022 \n\023base64_encoded_name\030\017 \001(\tB\003\340A\003" + + "\022\031\n\014legacy_local\030\013 \001(\010B\003\340A\003\022\025\n\010offer_id\030" + + "\003 \001(\tB\003\340A\003\022\035\n\020content_language\030\004 \001(\tB\003\340A" + + "\003\022\027\n\nfeed_label\030\005 \001(\tB\003\340A\003\022\030\n\013data_sourc" + + "e\030\006 \001(\tB\003\340A\003\022 \n\016version_number\030\007 \001(\003B\003\340A" + + "\003H\000\210\001\001\022X\n\022product_attributes\030\r \001(\01327.goo" + + "gle.shopping.merchant.products.v1.Produc" + + "tAttributesB\003\340A\003\022E\n\021custom_attributes\030\t " + + "\003(\0132%.google.shopping.type.CustomAttribu" + + "teB\003\340A\003\022P\n\016product_status\030\n \001(\01323.google" + + ".shopping.merchant.products.v1.ProductSt" + + "atusB\003\340A\003\022Z\n\023automated_discounts\030\014 \001(\01328" + + ".google.shopping.merchant.products.v1.Au" + + "tomatedDiscountsB\003\340A\003:N\352AK\n\"merchantapi." + + "googleapis.com/Product\022%accounts/{accoun" + + "t}/products/{product}B\021\n\017_version_number" + + "\"M\n\021GetProductRequest\0228\n\004name\030\001 \001(\tB*\340A\002" + + "\372A$\n\"merchantapi.googleapis.com/Product\"" + + "x\n\023ListProductsRequest\022:\n\006parent\030\001 \001(\tB*" + + "\340A\002\372A$\022\"merchantapi.googleapis.com/Produ" + + "ct\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"p\n\024ListProductsResponse\022?\n\010products\030\001 " + + "\003(\0132-.google.shopping.merchant.products." + + "v1.Product\022\027\n\017next_page_token\030\002 \001(\t2\317\003\n\017" + + "ProductsService\022\256\001\n\nGetProduct\0227.google." + + "shopping.merchant.products.v1.GetProduct" + + "Request\032-.google.shopping.merchant.produ" + + "cts.v1.Product\"8\332A\004name\202\323\344\223\002+\022)/products" + + "/v1/{name=accounts/*/products/*}\022\301\001\n\014Lis" + + "tProducts\0229.google.shopping.merchant.pro" + + "ducts.v1.ListProductsRequest\032:.google.sh" + + "opping.merchant.products.v1.ListProducts" + + "Response\":\332A\006parent\202\323\344\223\002+\022)/products/v1/" + + "{parent=accounts/*}/products\032G\312A\032merchan" + + "tapi.googleapis.com\322A\'https://www.google" + + "apis.com/auth/contentB\273\002\n(com.google.sho" + + "pping.merchant.products.v1B\rProductsProt" + + "oP\001ZJcloud.google.com/go/shopping/mercha" + + "nt/products/apiv1/productspb;productspb\252" + + "\002$Google.Shopping.Merchant.Products.V1\312\002" + + "$Google\\Shopping\\Merchant\\Products\\V1\352\002(" + + "Google::Shopping::Merchant::Products::V1" + + "\352A8\n\"merchantapi.googleapis.com/Account\022" + + "\022accounts/{account}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -138,6 +136,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_shopping_merchant_products_v1_Product_descriptor, new java.lang.String[] { "Name", + "Base64EncodedName", "LegacyLocal", "OfferId", "ContentLanguage", diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/productinputs.proto b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/productinputs.proto index d235624e8cd9..00534fb4e68c 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/productinputs.proto +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/productinputs.proto @@ -138,10 +138,10 @@ message ProductInput { // MUST be used if any part of the product identifier (like `offer_id`) // contains characters such as `/`, `%`, or `~`. // * Example: To represent the product ID `en~US~sku/123`, the - // `{productinput}` segment must be the base64url encoding of this - // string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + // `{productinput}` segment must be the unpadded base64url encoding of + // this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name // for the product would be - // `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. + // `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. // // 2. **Plain Format**: The `{productinput}` segment is the tilde-separated // string @@ -153,16 +153,36 @@ message ProductInput { // correct parsing, especially those containing special characters. The // presence of tilde (`~`) characters in the `{productinput}` segment is used // to differentiate between the two formats. - // - // Note: For calls to the v1beta version, the plain format is - // `channel~content_language~feed_label~offer_id`, for example: - // `accounts/123/productinputs/online~en~US~sku123`. string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + // Output only. The **unpadded base64url encoded name** of the product input. + // Format: + // `accounts/{account}/productInputs/{productinput}` where the last + // section `productinput` is the unpadded base64url encoding of the + // `content_language~feed_label~offer_id` name. + // Example: `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw` for the decoded + // product input name `accounts/123/productInputs/en~US~sku/123`. This field + // can be used directly as input to the API methods that require the product + // input name to be encoded if it contains special characters, for example + // [`GetProductInput`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.productInputs/get). + string base64_encoded_name = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The name of the processed product. // Format: `accounts/{account}/products/{product}` string product = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The **unpadded base64url encoded name** of the processed + // product. Format: `accounts/{account}/products/{product}` where the last + // section `product` is the unpadded base64url encoding of the + // `content_language~feed_label~offer_id` name. + // Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded + // product name `accounts/123/products/en~US~sku/123`. This field can be used + // directly as input to the API methods that require the product name to be + // encoded if it contains special characters, for example + // [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get). + string base64_encoded_product = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Immutable. Determines whether the product is **only** targeting // local destinations and whether the product name should be distinguished // with a `local~` prefix. For example, @@ -326,10 +346,10 @@ message DeleteProductInputRequest { // MUST be used if any part of the product identifier (like `offer_id`) // contains characters such as `/`, `%`, or `~`. // * Example: To represent the product ID `en~US~sku/123`, the - // `{productInput}` segment must be the base64url encoding of this - // string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + // `{productInput}` segment must be the unpadded base64url encoding of + // this string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name // for the product would be - // `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. + // `accounts/123/productInputs/ZW5-VVN-c2t1LzEyMw`. // // 2. **Plain Format**: The `{productInput}` segment is the tilde-separated // string @@ -341,10 +361,6 @@ message DeleteProductInputRequest { // correct parsing, especially those containing special characters. The // presence of tilde (`~`) characters in the `{productInput}` segment is used // to differentiate between the two formats. - // - // Note: For calls to the v1beta version, the plain format is - // `channel~content_language~feed_label~offer_id`, for example: - // `accounts/123/productinputs/online~en~US~sku123`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products.proto b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products.proto index a90907714410..e67abc69823c 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products.proto +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products.proto @@ -96,6 +96,18 @@ message Product { // `accounts/123/products/online~en~US~sku123`. string name = 1; + // Output only. The **unpadded base64url encoded name** of the product. + // Format: + // `accounts/{account}/products/{product}` where the last + // section `product` is the unpadded base64url encoding of the + // `content_language~feed_label~offer_id` name. + // Example: `accounts/123/products/ZW5-VVN-c2t1LzEyMw` for the decoded product + // name `accounts/123/products/en~US~sku/123`. This field can be used directly + // as input to the API methods that require the product name to be encoded if + // it contains special characters, for example + // [`GetProduct`](https://developers.google.com/merchant/api/reference/rest/products_v1/accounts.products/get). + string base64_encoded_name = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Determines whether the product is **only** targeting // local destinations and whether the product name should be distinguished // with a `local~` prefix. For example, @@ -182,10 +194,10 @@ message GetProductRequest { // MUST be used if any part of the product identifier (like `offer_id`) // contains characters such as `/`, `%`, or `~`. // * Example: To represent the product ID `en~US~sku/123`, the - // `{product}` segment must be the base64url encoding of this - // string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name + // `{product}` segment must be the unpadded base64url encoding of this + // string, which is `ZW5-VVN-c2t1LzEyMw`. The full resource name // for the product would be - // `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. + // `accounts/123/products/ZW5-VVN-c2t1LzEyMw`. // // 2. **Plain Format**: The `{product}` segment is the tilde-separated string // `content_language~feed_label~offer_id`. This format is suitable only diff --git a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto index 65f5d5690db0..f78c2b365c40 100644 --- a/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto +++ b/java-shopping-merchant-products/proto-google-shopping-merchant-products-v1/src/main/proto/google/shopping/merchant/products/v1/products_common.proto @@ -1014,10 +1014,16 @@ message ProductAttributes { // The handling cutoff times for shipping. repeated HandlingCutoffTime handling_cutoff_times = 141; - // The shipping label of the product, used to group product in account-level - // shipping rules. + // The shipping label of the product, used to group products in account-level + // shipping rules. Max. 100 characters. For more information, see + // [Shipping label](https://support.google.com/merchants/answer/6324504). optional string shipping_label = 46; + // The return label of the product, used to group products in account-level + // return policies. Max. 100 characters. For more information, see + // [Return policy label](https://support.google.com/merchants/answer/9445425). + optional string return_policy_label = 170; + // The transit time label of the product, used to group product in // account-level transit time tables. optional string transit_time_label = 47; diff --git a/java-shopping-merchant-promotions/.OwlBot-hermetic.yaml b/java-shopping-merchant-promotions/.OwlBot-hermetic.yaml index 980457b6f312..d6690c800efe 100644 --- a/java-shopping-merchant-promotions/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-promotions/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-promotions/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-promotions/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-promotions/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-promotions/README.md b/java-shopping-merchant-promotions/README.md index 7625a8e4233d..f4416a1f0caa 100644 --- a/java-shopping-merchant-promotions/README.md +++ b/java-shopping-merchant-promotions/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-promotions - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-promotions:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-promotions:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-promotions" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-promotions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-promotions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-promotions/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1/stub/Version.java b/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1/stub/Version.java index 26564f189669..ab9f1fc1c7a1 100644 --- a/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1/stub/Version.java +++ b/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-promotions:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1beta/stub/Version.java b/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1beta/stub/Version.java index 3ba56097b996..546892d837df 100644 --- a/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1beta/stub/Version.java +++ b/java-shopping-merchant-promotions/google-shopping-merchant-promotions/src/main/java/com/google/shopping/merchant/promotions/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-promotions:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-quota/.OwlBot-hermetic.yaml b/java-shopping-merchant-quota/.OwlBot-hermetic.yaml index 7ab8931c801f..c549a5d29645 100644 --- a/java-shopping-merchant-quota/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-quota/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-quota/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-quota/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-quota/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-quota/README.md b/java-shopping-merchant-quota/README.md index e249cf417de2..21399fd945d0 100644 --- a/java-shopping-merchant-quota/README.md +++ b/java-shopping-merchant-quota/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-quota - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-quota:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-quota:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-quota" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-quota/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-quota.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-quota/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1/stub/Version.java b/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1/stub/Version.java index e8ab83b126c2..0bae0b83a1e1 100644 --- a/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1/stub/Version.java +++ b/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-quota:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1beta/stub/Version.java b/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1beta/stub/Version.java index 394aaf009691..fea20a0723de 100644 --- a/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1beta/stub/Version.java +++ b/java-shopping-merchant-quota/google-shopping-merchant-quota/src/main/java/com/google/shopping/merchant/quota/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-quota:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-reports/.OwlBot-hermetic.yaml b/java-shopping-merchant-reports/.OwlBot-hermetic.yaml index 0f25561a6210..8030512c19b2 100644 --- a/java-shopping-merchant-reports/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-reports/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-reports/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-reports/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-reports/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-reports/README.md b/java-shopping-merchant-reports/README.md index a47dcdfe8f7e..91357b0bc5c1 100644 --- a/java-shopping-merchant-reports/README.md +++ b/java-shopping-merchant-reports/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-reports - 1.16.0 + 1.17.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reports:1.16.0' +implementation 'com.google.shopping:google-shopping-merchant-reports:1.17.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.16.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reports" % "1.17.0" ``` ## Authentication @@ -152,7 +152,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reports/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reports.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.16.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reports/1.17.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1/stub/Version.java b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1/stub/Version.java index 4f989b71e83e..0758e305e75c 100644 --- a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1/stub/Version.java +++ b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-reports:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1alpha/stub/Version.java b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1alpha/stub/Version.java index a69559d6154e..d0693b3797ac 100644 --- a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1alpha/stub/Version.java +++ b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-reports:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1beta/stub/Version.java b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1beta/stub/Version.java index 80761046aee2..b1fcff707db5 100644 --- a/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1beta/stub/Version.java +++ b/java-shopping-merchant-reports/google-shopping-merchant-reports/src/main/java/com/google/shopping/merchant/reports/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-reports:current} - static final String VERSION = "1.17.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-shopping-merchant-reviews/.OwlBot-hermetic.yaml b/java-shopping-merchant-reviews/.OwlBot-hermetic.yaml index 4b4d093ba6fe..42fac5266c6b 100644 --- a/java-shopping-merchant-reviews/.OwlBot-hermetic.yaml +++ b/java-shopping-merchant-reviews/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-shopping-merchant-reviews/samples/snippets/generated" deep-preserve-regex: +- "/java-shopping-merchant-reviews/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-shopping-merchant-reviews/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-shopping-merchant-reviews/README.md b/java-shopping-merchant-reviews/README.md index ab0b164331f7..6b4ee8c5d1c7 100644 --- a/java-shopping-merchant-reviews/README.md +++ b/java-shopping-merchant-reviews/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.shopping google-shopping-merchant-reviews - 0.34.0 + 0.35.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.shopping:google-shopping-merchant-reviews:0.34.0' +implementation 'com.google.shopping:google-shopping-merchant-reviews:0.35.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.34.0" +libraryDependencies += "com.google.shopping" % "google-shopping-merchant-reviews" % "0.35.0" ``` ## Authentication @@ -158,7 +158,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-shopping-merchant-reviews/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-reviews.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-reviews/0.35.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-shopping-merchant-reviews/google-shopping-merchant-reviews/src/main/java/com/google/shopping/merchant/reviews/v1beta/stub/Version.java b/java-shopping-merchant-reviews/google-shopping-merchant-reviews/src/main/java/com/google/shopping/merchant/reviews/v1beta/stub/Version.java index 7564a916578c..520830873842 100644 --- a/java-shopping-merchant-reviews/google-shopping-merchant-reviews/src/main/java/com/google/shopping/merchant/reviews/v1beta/stub/Version.java +++ b/java-shopping-merchant-reviews/google-shopping-merchant-reviews/src/main/java/com/google/shopping/merchant/reviews/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-shopping-merchant-reviews:current} - static final String VERSION = "0.35.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-spanner/.OwlBot-hermetic.yaml b/java-spanner/.OwlBot-hermetic.yaml index dec6b8d39446..6218f758040f 100644 --- a/java-spanner/.OwlBot-hermetic.yaml +++ b/java-spanner/.OwlBot-hermetic.yaml @@ -18,6 +18,7 @@ deep-remove-regex: - /java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1 - /java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin deep-preserve-regex: +- /java-spanner/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java - /java-spanner/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java - /java-spanner/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CryptoKeyName.java - /java-spanner/proto-google-cloud-spanner-admin-database-v1/src/main/java/com/google/spanner/admin/database/v1/CryptoKeyVersionName.java diff --git a/java-spanner/README.md b/java-spanner/README.md index 03914f98ef10..11a0fb5b9174 100644 --- a/java-spanner/README.md +++ b/java-spanner/README.md @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanner:6.112.0' +implementation 'com.google.cloud:google-cloud-spanner:6.114.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.112.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.114.0" ``` ## Authentication @@ -550,7 +550,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-spanner/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.112.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanner/6.114.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-spanner/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/Version.java b/java-spanner/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/Version.java index 7f6b7366782f..e5f367695de1 100644 --- a/java-spanner/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/Version.java +++ b/java-spanner/google-cloud-spanner-executor/src/main/java/com/google/cloud/spanner/executor/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-spanner:current} - static final String VERSION = "6.114.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/Version.java b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/Version.java index b5559ea95dd6..a0c19dea4ccc 100644 --- a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/Version.java +++ b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-spanner:current} - static final String VERSION = "6.114.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/Version.java b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/Version.java index 879e61abb837..3ef859f106e7 100644 --- a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/Version.java +++ b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-spanner:current} - static final String VERSION = "6.114.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/Version.java b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/Version.java index 0adc8bf50fb7..8d72ba6a4784 100644 --- a/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/Version.java +++ b/java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-spanner:current} - static final String VERSION = "6.114.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-spanneradapter/.OwlBot-hermetic.yaml b/java-spanneradapter/.OwlBot-hermetic.yaml index accec67fe030..55e1501ef388 100644 --- a/java-spanneradapter/.OwlBot-hermetic.yaml +++ b/java-spanneradapter/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-spanneradapter/samples/snippets/generated" deep-preserve-regex: +- "/java-spanneradapter/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-spanneradapter/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-spanneradapter/README.md b/java-spanneradapter/README.md index 4de1677ff9c7..4cf925367b4b 100644 --- a/java-spanneradapter/README.md +++ b/java-spanneradapter/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-spanneradapter - 0.24.0 + 0.25.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-spanneradapter:0.24.0' +implementation 'com.google.cloud:google-cloud-spanneradapter:0.25.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.24.0" +libraryDependencies += "com.google.cloud" % "google-cloud-spanneradapter" % "0.25.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-spanneradapter/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanneradapter.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-spanneradapter/0.25.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-spanneradapter/google-cloud-spanneradapter/src/main/java/com/google/spanner/adapter/v1/stub/Version.java b/java-spanneradapter/google-cloud-spanneradapter/src/main/java/com/google/spanner/adapter/v1/stub/Version.java index 1d8aa7fa7661..c3310b43205e 100644 --- a/java-spanneradapter/google-cloud-spanneradapter/src/main/java/com/google/spanner/adapter/v1/stub/Version.java +++ b/java-spanneradapter/google-cloud-spanneradapter/src/main/java/com/google/spanner/adapter/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-spanneradapter:current} - static final String VERSION = "0.25.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-speech/.OwlBot-hermetic.yaml b/java-speech/.OwlBot-hermetic.yaml index 399e85f41d5d..250a218b3ebb 100644 --- a/java-speech/.OwlBot-hermetic.yaml +++ b/java-speech/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-speech/google-.*/src" deep-preserve-regex: +- "/java-speech/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-speech/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-speech/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/SpeechSmokeTest.java" - "/java-speech/google-cloud-speech/src/test/java/com/google/cloud/speech/v1p1beta1/SpeechSmokeTest.java" diff --git a/java-speech/README.md b/java-speech/README.md index bc364e9053ac..ca6f3d22c0f2 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-speech - 4.83.0 + 4.84.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.83.0' +implementation 'com.google.cloud:google-cloud-speech:4.84.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.83.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.84.0" ``` ## Authentication @@ -211,7 +211,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-speech/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-speech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.83.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.84.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/Version.java b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/Version.java index b9eecf57b115..0a161585d351 100644 --- a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/Version.java +++ b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-speech:current} - static final String VERSION = "4.84.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/Version.java b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/Version.java index b9f4163b0a5a..87e193628b92 100644 --- a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/Version.java +++ b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-speech:current} - static final String VERSION = "4.84.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/stub/Version.java b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/stub/Version.java index 9f09a27d09b9..2c53bfe84090 100644 --- a/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/stub/Version.java +++ b/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-speech:current} - static final String VERSION = "4.84.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-storage-transfer/.OwlBot-hermetic.yaml b/java-storage-transfer/.OwlBot-hermetic.yaml index 37b085434854..b2f32e6a8e19 100644 --- a/java-storage-transfer/.OwlBot-hermetic.yaml +++ b/java-storage-transfer/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-storage-transfer/samples/snippets/generated" deep-preserve-regex: +- "/java-storage-transfer/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-storage-transfer/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-storage-transfer/README.md b/java-storage-transfer/README.md index d292de55579d..cc902daccd6d 100644 --- a/java-storage-transfer/README.md +++ b/java-storage-transfer/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage-transfer - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage-transfer:1.88.0' +implementation 'com.google.cloud:google-cloud-storage-transfer:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storage-transfer" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storage-transfer/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage-transfer.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage-transfer/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/Version.java b/java-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/Version.java index 9576e4a25e9e..da69027d143c 100644 --- a/java-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/Version.java +++ b/java-storage-transfer/google-cloud-storage-transfer/src/main/java/com/google/storagetransfer/v1/proto/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-storage-transfer:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-storage/.OwlBot-hermetic.yaml b/java-storage/.OwlBot-hermetic.yaml index 3a281f188c5f..7dd05be4cfca 100644 --- a/java-storage/.OwlBot-hermetic.yaml +++ b/java-storage/.OwlBot-hermetic.yaml @@ -13,6 +13,7 @@ # limitations under the License. deep-preserve-regex: +- /java-storage/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java - /java-storage/google-.*/src/test/java/com/google/storage/control/v2/ITFoldersTest.java deep-remove-regex: - /java-storage/grpc-google-.*/src diff --git a/java-storage/README.md b/java-storage/README.md index d9336399739d..4894f5210f7e 100644 --- a/java-storage/README.md +++ b/java-storage/README.md @@ -66,13 +66,13 @@ implementation 'com.google.cloud:google-cloud-storage' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage:2.64.1' +implementation 'com.google.cloud:google-cloud-storage:2.65.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.64.1" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.65.0" ``` ## Authentication @@ -474,7 +474,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/history [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.64.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.65.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storage/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/Version.java b/java-storage/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/Version.java index 17c042183812..f4b987b65c5b 100644 --- a/java-storage/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/Version.java +++ b/java-storage/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-storage:current} - static final String VERSION = "2.65.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-storage/google-cloud-storage-control/src/main/java/com/google/storage/control/v2/stub/Version.java b/java-storage/google-cloud-storage-control/src/main/java/com/google/storage/control/v2/stub/Version.java index 6846e6fe142b..45d56787e14f 100644 --- a/java-storage/google-cloud-storage-control/src/main/java/com/google/storage/control/v2/stub/Version.java +++ b/java-storage/google-cloud-storage-control/src/main/java/com/google/storage/control/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-storage:current} - static final String VERSION = "2.65.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-storagebatchoperations/.OwlBot-hermetic.yaml b/java-storagebatchoperations/.OwlBot-hermetic.yaml index 05677a1bb65b..7fe80c67f547 100644 --- a/java-storagebatchoperations/.OwlBot-hermetic.yaml +++ b/java-storagebatchoperations/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-storagebatchoperations/samples/snippets/generated" deep-preserve-regex: +- "/java-storagebatchoperations/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-storagebatchoperations/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-storagebatchoperations/README.md b/java-storagebatchoperations/README.md index e6c824470258..1fd9e9cbebb0 100644 --- a/java-storagebatchoperations/README.md +++ b/java-storagebatchoperations/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storagebatchoperations - 0.28.0 + 0.29.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.28.0' +implementation 'com.google.cloud:google-cloud-storagebatchoperations:0.29.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.28.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storagebatchoperations" % "0.29.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storagebatchoperations/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storagebatchoperations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storagebatchoperations/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storagebatchoperations/google-cloud-storagebatchoperations/src/main/java/com/google/cloud/storagebatchoperations/v1/stub/Version.java b/java-storagebatchoperations/google-cloud-storagebatchoperations/src/main/java/com/google/cloud/storagebatchoperations/v1/stub/Version.java index afb3241dd025..083e41a3b5f2 100644 --- a/java-storagebatchoperations/google-cloud-storagebatchoperations/src/main/java/com/google/cloud/storagebatchoperations/v1/stub/Version.java +++ b/java-storagebatchoperations/google-cloud-storagebatchoperations/src/main/java/com/google/cloud/storagebatchoperations/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-storagebatchoperations:current} - static final String VERSION = "0.29.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-storageinsights/.OwlBot-hermetic.yaml b/java-storageinsights/.OwlBot-hermetic.yaml index f1bea3025b34..fd70c715c2f8 100644 --- a/java-storageinsights/.OwlBot-hermetic.yaml +++ b/java-storageinsights/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-storageinsights/samples/snippets/generated" deep-preserve-regex: +- "/java-storageinsights/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-storageinsights/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-storageinsights/README.md b/java-storageinsights/README.md index 070b76e3243e..f58443a9a67a 100644 --- a/java-storageinsights/README.md +++ b/java-storageinsights/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storageinsights - 0.73.0 + 0.74.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storageinsights:0.73.0' +implementation 'com.google.cloud:google-cloud-storageinsights:0.74.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.73.0" +libraryDependencies += "com.google.cloud" % "google-cloud-storageinsights" % "0.74.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-storageinsights/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storageinsights.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.73.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storageinsights/0.74.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/Version.java b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/Version.java index 8c9a805d5de2..75bfddce3cf6 100644 --- a/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/Version.java +++ b/java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-storageinsights:current} - static final String VERSION = "0.74.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-talent/.OwlBot-hermetic.yaml b/java-talent/.OwlBot-hermetic.yaml index f856a4ac9383..dbd2676316a1 100644 --- a/java-talent/.OwlBot-hermetic.yaml +++ b/java-talent/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-talent/google-.*/src" deep-preserve-regex: +- "/java-talent/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-talent/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-talent/README.md b/java-talent/README.md index 7a97dce475b3..374c49f154a4 100644 --- a/java-talent/README.md +++ b/java-talent/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-talent - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-talent:2.89.0' +implementation 'com.google.cloud:google-cloud-talent:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-talent" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-talent/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-talent.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-talent/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/Version.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/Version.java index 34e5c951401b..ff1e0e4dc13a 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/Version.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-talent:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/Version.java b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/Version.java index 2bf801a85afc..25333243ba95 100644 --- a/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/Version.java +++ b/java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-talent:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tasks/.OwlBot-hermetic.yaml b/java-tasks/.OwlBot-hermetic.yaml index 84cc4d39d1cd..0b63cd698726 100644 --- a/java-tasks/.OwlBot-hermetic.yaml +++ b/java-tasks/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-tasks/google-.*/src" deep-preserve-regex: +- "/java-tasks/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-tasks/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-tasks/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksSmokeTest.java" - "/java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/ProjectName.java" diff --git a/java-tasks/README.md b/java-tasks/README.md index ad4a3e238983..c75f15ba420d 100644 --- a/java-tasks/README.md +++ b/java-tasks/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tasks - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tasks:2.88.0' +implementation 'com.google.cloud:google-cloud-tasks:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tasks" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-tasks/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tasks.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tasks/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/Version.java b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/Version.java index eccdce012ae3..e9dc14eb6de1 100644 --- a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/Version.java +++ b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tasks:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/Version.java b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/Version.java index d50d4fb6da2a..da0a0f22d692 100644 --- a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/Version.java +++ b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tasks:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/Version.java b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/Version.java index f3382477d8c6..141399af70b1 100644 --- a/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/Version.java +++ b/java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tasks:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-telcoautomation/.OwlBot-hermetic.yaml b/java-telcoautomation/.OwlBot-hermetic.yaml index 245226a83af0..51d167e74bd4 100644 --- a/java-telcoautomation/.OwlBot-hermetic.yaml +++ b/java-telcoautomation/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-telcoautomation/samples/snippets/generated" deep-preserve-regex: +- "/java-telcoautomation/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-telcoautomation/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-telcoautomation/README.md b/java-telcoautomation/README.md index 5cf6c3029b4a..37e78dc392ad 100644 --- a/java-telcoautomation/README.md +++ b/java-telcoautomation/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-telcoautomation - 0.58.0 + 0.59.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-telcoautomation:0.58.0' +implementation 'com.google.cloud:google-cloud-telcoautomation:0.59.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.58.0" +libraryDependencies += "com.google.cloud" % "google-cloud-telcoautomation" % "0.59.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-telcoautomation/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-telcoautomation.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.58.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-telcoautomation/0.59.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1/stub/Version.java b/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1/stub/Version.java index 3bbbe91ef090..4b91d8ad8af1 100644 --- a/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1/stub/Version.java +++ b/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-telcoautomation:current} - static final String VERSION = "0.59.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1alpha1/stub/Version.java b/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1alpha1/stub/Version.java index 6aa4eb1d04ad..2736bd578f91 100644 --- a/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1alpha1/stub/Version.java +++ b/java-telcoautomation/google-cloud-telcoautomation/src/main/java/com/google/cloud/telcoautomation/v1alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-telcoautomation:current} - static final String VERSION = "0.59.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-texttospeech/.OwlBot-hermetic.yaml b/java-texttospeech/.OwlBot-hermetic.yaml index bf6dcbc170c0..442b8e3db37f 100644 --- a/java-texttospeech/.OwlBot-hermetic.yaml +++ b/java-texttospeech/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-texttospeech/google-.*/src" deep-preserve-regex: +- "/java-texttospeech/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-texttospeech/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-texttospeech/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1/TextToSpeechSmokeTest.java" - "/java-texttospeech/google-cloud-texttospeech/src/test/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSmokeTest.java" diff --git a/java-texttospeech/README.md b/java-texttospeech/README.md index 2aa521a04098..1f1a17b7a625 100644 --- a/java-texttospeech/README.md +++ b/java-texttospeech/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-texttospeech - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-texttospeech:2.89.0' +implementation 'com.google.cloud:google-cloud-texttospeech:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-texttospeech" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-texttospeech/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-texttospeech.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-texttospeech/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/Version.java b/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/Version.java index 3e56b474ee1b..51681f60b93c 100644 --- a/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/Version.java +++ b/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-texttospeech:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/Version.java b/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/Version.java index 4b98efc5c46a..1b8b1b7e38a6 100644 --- a/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/Version.java +++ b/java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-texttospeech:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tpu/README.md b/java-tpu/README.md index d92860d5e6f0..95a7d442ad1d 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tpu - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.89.0' +implementation 'com.google.cloud:google-cloud-tpu:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-tpu/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/Version.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/Version.java index e1d47a3a9bf4..21c4bbfefe2d 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/Version.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tpu:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/Version.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/Version.java index 009bc86d1ac6..ca7e1e6dc8ab 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/Version.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tpu:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/stub/Version.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/stub/Version.java index ae55cff9a6bc..afa6bc696148 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/stub/Version.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-tpu:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-trace/.OwlBot-hermetic.yaml b/java-trace/.OwlBot-hermetic.yaml index d2b694eac9a9..56280793d3d7 100644 --- a/java-trace/.OwlBot-hermetic.yaml +++ b/java-trace/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-trace/samples/snippets/generated" deep-preserve-regex: +- "/java-trace/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-trace/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-trace/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/VPCServiceControlTest.java" - "/java-trace/google-cloud-trace/src/test/java/com/google/cloud/trace/v2/VPCServiceControlTest.java" diff --git a/java-trace/README.md b/java-trace/README.md index 640907115e3a..a18408a5f564 100644 --- a/java-trace/README.md +++ b/java-trace/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-trace - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-trace:2.88.0' +implementation 'com.google.cloud:google-cloud-trace:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-trace" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-trace/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-trace.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-trace/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/Version.java b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/Version.java index 263f0cc80b50..8973fc0274b2 100644 --- a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/Version.java +++ b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-trace:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/Version.java b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/Version.java index 9d299ff183c9..d960b4ce30e2 100644 --- a/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/Version.java +++ b/java-trace/google-cloud-trace/src/main/java/com/google/cloud/trace/v2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-trace:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-translate/README.md b/java-translate/README.md index a95133067305..7d58ef7e90eb 100644 --- a/java-translate/README.md +++ b/java-translate/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-translate - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-translate:2.88.0' +implementation 'com.google.cloud:google-cloud-translate:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-translate" % "2.89.0" ``` ## Authentication @@ -252,7 +252,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-translate/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-translate.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-translate/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3/stub/Version.java b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3/stub/Version.java index 813aed5c30fb..48494e86c168 100644 --- a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3/stub/Version.java +++ b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-translate:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/stub/Version.java b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/stub/Version.java index 91ec178f0b6d..9e37ceb014d7 100644 --- a/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/stub/Version.java +++ b/java-translate/google-cloud-translate/src/main/java/com/google/cloud/translate/v3beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-translate:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-valkey/.OwlBot-hermetic.yaml b/java-valkey/.OwlBot-hermetic.yaml index 74b30125c2c3..3721b236c006 100644 --- a/java-valkey/.OwlBot-hermetic.yaml +++ b/java-valkey/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-valkey/samples/snippets/generated" deep-preserve-regex: +- "/java-valkey/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-valkey/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-valkey/README.md b/java-valkey/README.md index 4882d5438b8f..87a543f236c2 100644 --- a/java-valkey/README.md +++ b/java-valkey/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-valkey - 0.34.0 + 0.35.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-valkey:0.34.0' +implementation 'com.google.cloud:google-cloud-valkey:0.35.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.34.0" +libraryDependencies += "com.google.cloud" % "google-cloud-valkey" % "0.35.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-memorystore/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-valkey.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-valkey/0.35.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/stub/Version.java b/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/stub/Version.java index 5061615a1ca2..5f70c0aa1ddf 100644 --- a/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/stub/Version.java +++ b/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-valkey:current} - static final String VERSION = "0.35.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1beta/stub/Version.java b/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1beta/stub/Version.java index ad97d5159cb0..fb1565da93e6 100644 --- a/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1beta/stub/Version.java +++ b/java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-valkey:current} - static final String VERSION = "0.35.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vectorsearch/.OwlBot-hermetic.yaml b/java-vectorsearch/.OwlBot-hermetic.yaml index f8afdb7ca1e8..8c0595550d95 100644 --- a/java-vectorsearch/.OwlBot-hermetic.yaml +++ b/java-vectorsearch/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-vectorsearch/samples/snippets/generated" deep-preserve-regex: +- "/java-vectorsearch/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-vectorsearch/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-vectorsearch/README.md b/java-vectorsearch/README.md index 52d455e1b5f2..d9678f722b1d 100644 --- a/java-vectorsearch/README.md +++ b/java-vectorsearch/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vectorsearch - 0.9.0 + 0.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vectorsearch:0.9.0' +implementation 'com.google.cloud:google-cloud-vectorsearch:0.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vectorsearch" % "0.10.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vectorsearch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.9.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vectorsearch/0.10.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1/stub/Version.java b/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1/stub/Version.java index ee49a517763a..8943fc1cdc55 100644 --- a/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1/stub/Version.java +++ b/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vectorsearch:current} - static final String VERSION = "0.10.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1beta/stub/Version.java b/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1beta/stub/Version.java index d8c63a0910e9..2c99fde0ceb0 100644 --- a/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1beta/stub/Version.java +++ b/java-vectorsearch/google-cloud-vectorsearch/src/main/java/com/google/cloud/vectorsearch/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vectorsearch:current} - static final String VERSION = "0.10.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-intelligence/.OwlBot-hermetic.yaml b/java-video-intelligence/.OwlBot-hermetic.yaml index 32824216e8c7..286cc8661e2f 100644 --- a/java-video-intelligence/.OwlBot-hermetic.yaml +++ b/java-video-intelligence/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-video-intelligence/google-.*/src" deep-preserve-regex: +- "/java-video-intelligence/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-video-intelligence/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-video-intelligence/README.md b/java-video-intelligence/README.md index ab46b146d91d..2c7a4c058182 100644 --- a/java-video-intelligence/README.md +++ b/java-video-intelligence/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-intelligence - 2.87.0 + 2.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-intelligence:2.87.0' +implementation 'com.google.cloud:google-cloud-video-intelligence:2.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "2.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-intelligence/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-intelligence.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-intelligence/2.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/Version.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/Version.java index ffd2ce07f426..2c5356f5aa57 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/Version.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-intelligence:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/Version.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/Version.java index 053fd9497938..4e0cc7904352 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/Version.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-intelligence:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/Version.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/Version.java index a7e0ec184473..d0dbef2bbcdb 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/Version.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-intelligence:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/Version.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/Version.java index 1dc2fdcd9989..5411b4e9cc0f 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/Version.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p2beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-intelligence:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/Version.java b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/Version.java index 4ce2cbe26d84..3298d664d27d 100644 --- a/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/Version.java +++ b/java-video-intelligence/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-intelligence:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-live-stream/.OwlBot-hermetic.yaml b/java-video-live-stream/.OwlBot-hermetic.yaml index 8bedea65aee7..dc9551587049 100644 --- a/java-video-live-stream/.OwlBot-hermetic.yaml +++ b/java-video-live-stream/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-video-live-stream/google-.*/src" deep-preserve-regex: +- "/java-video-live-stream/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-video-live-stream/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-video-live-stream/README.md b/java-video-live-stream/README.md index 1ff9088bdca7..ceb5f68b4717 100644 --- a/java-video-live-stream/README.md +++ b/java-video-live-stream/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-live-stream - 0.90.0 + 0.91.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-live-stream:0.90.0' +implementation 'com.google.cloud:google-cloud-live-stream:0.91.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.90.0" +libraryDependencies += "com.google.cloud" % "google-cloud-live-stream" % "0.91.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-live-stream/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.90.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.91.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/Version.java b/java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/Version.java index 8ecf74cf3052..b1d6fb5d8a10 100644 --- a/java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/Version.java +++ b/java-video-live-stream/google-cloud-live-stream/src/main/java/com/google/cloud/video/livestream/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-live-stream:current} - static final String VERSION = "0.91.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-stitcher/.OwlBot-hermetic.yaml b/java-video-stitcher/.OwlBot-hermetic.yaml index c68b0a5aa09c..fd85e1b7e560 100644 --- a/java-video-stitcher/.OwlBot-hermetic.yaml +++ b/java-video-stitcher/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-video-stitcher/samples/snippets/generated" deep-preserve-regex: +- "/java-video-stitcher/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-video-stitcher/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-video-stitcher/README.md b/java-video-stitcher/README.md index 6d64aee0e019..583d10479e11 100644 --- a/java-video-stitcher/README.md +++ b/java-video-stitcher/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-stitcher - 0.88.0 + 0.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-stitcher:0.88.0' +implementation 'com.google.cloud:google-cloud-video-stitcher:0.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-stitcher" % "0.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-stitcher/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-stitcher.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-stitcher/0.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/stub/Version.java b/java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/stub/Version.java index 45a1e6685f39..5a05a669a23d 100644 --- a/java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/stub/Version.java +++ b/java-video-stitcher/google-cloud-video-stitcher/src/main/java/com/google/cloud/video/stitcher/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-stitcher:current} - static final String VERSION = "0.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-video-transcoder/.OwlBot-hermetic.yaml b/java-video-transcoder/.OwlBot-hermetic.yaml index 82413a975024..86ad8effa803 100644 --- a/java-video-transcoder/.OwlBot-hermetic.yaml +++ b/java-video-transcoder/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-video-transcoder/google-.*/src" deep-preserve-regex: +- "/java-video-transcoder/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-video-transcoder/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-video-transcoder/README.md b/java-video-transcoder/README.md index 1fc50cb572b5..28175e09bb93 100644 --- a/java-video-transcoder/README.md +++ b/java-video-transcoder/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-video-transcoder - 1.87.0 + 1.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-video-transcoder:1.87.0' +implementation 'com.google.cloud:google-cloud-video-transcoder:1.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-video-transcoder" % "1.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-video-transcoder/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-video-transcoder.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-video-transcoder/1.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/Version.java b/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/Version.java index a3f31f20c087..d9f1d97b2792 100644 --- a/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/Version.java +++ b/java-video-transcoder/google-cloud-video-transcoder/src/main/java/com/google/cloud/video/transcoder/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-video-transcoder:current} - static final String VERSION = "1.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vision/.OwlBot-hermetic.yaml b/java-vision/.OwlBot-hermetic.yaml index 29f54b181f79..90d42acdab7f 100644 --- a/java-vision/.OwlBot-hermetic.yaml +++ b/java-vision/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-vision/google-.*/src" deep-preserve-regex: +- "/java-vision/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-vision/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-vision/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageName.java" - "/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java" diff --git a/java-vision/README.md b/java-vision/README.md index 4156915a0250..6eb27bc1f428 100644 --- a/java-vision/README.md +++ b/java-vision/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vision - 3.86.0 + 3.87.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vision:3.86.0' +implementation 'com.google.cloud:google-cloud-vision:3.87.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.86.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vision" % "3.87.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vision/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vision.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.86.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vision/3.87.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/Version.java b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/Version.java index 3e320f53c82d..5b0c770b0831 100644 --- a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/Version.java +++ b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vision:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/Version.java b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/Version.java index caea227dbb5a..3e54b8377ac9 100644 --- a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/Version.java +++ b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vision:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/Version.java b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/Version.java index aa22b2504a74..75aeeea9744a 100644 --- a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/Version.java +++ b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p2beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vision:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/Version.java b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/Version.java index 33b2a4c40ecc..f2627666cfd9 100644 --- a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/Version.java +++ b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p3beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vision:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/Version.java b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/Version.java index 8567ce103ba6..479fcd5b55a2 100644 --- a/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/Version.java +++ b/java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1p4beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vision:current} - static final String VERSION = "3.87.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-visionai/.OwlBot-hermetic.yaml b/java-visionai/.OwlBot-hermetic.yaml index f2189a01e6e4..d36b313dcdbe 100644 --- a/java-visionai/.OwlBot-hermetic.yaml +++ b/java-visionai/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-visionai/samples/snippets/generated" deep-preserve-regex: +- "/java-visionai/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-visionai/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-visionai/README.md b/java-visionai/README.md index f4313a3dff4b..5e29da02ba05 100644 --- a/java-visionai/README.md +++ b/java-visionai/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-visionai - 0.45.0 + 0.46.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-visionai:0.45.0' +implementation 'com.google.cloud:google-cloud-visionai:0.46.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.45.0" +libraryDependencies += "com.google.cloud" % "google-cloud-visionai" % "0.46.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-visionai/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-visionai.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.45.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-visionai/0.46.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/stub/Version.java b/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/stub/Version.java index 5ecdb5292e2d..8884d40a6ea2 100644 --- a/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/stub/Version.java +++ b/java-visionai/google-cloud-visionai/src/main/java/com/google/cloud/visionai/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-visionai:current} - static final String VERSION = "0.46.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vmmigration/.OwlBot-hermetic.yaml b/java-vmmigration/.OwlBot-hermetic.yaml index e582c03af986..bb727506a677 100644 --- a/java-vmmigration/.OwlBot-hermetic.yaml +++ b/java-vmmigration/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-vmmigration/google-.*/src" deep-preserve-regex: +- "/java-vmmigration/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-vmmigration/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-vmmigration/README.md b/java-vmmigration/README.md index 74d4853f6dc3..ed7945554a2b 100644 --- a/java-vmmigration/README.md +++ b/java-vmmigration/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmmigration - 1.88.0 + 1.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmmigration:1.88.0' +implementation 'com.google.cloud:google-cloud-vmmigration:1.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmmigration" % "1.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vmmigration/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmmigration.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmmigration/1.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/Version.java b/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/Version.java index 741fc8a8e25c..eafabdc468f0 100644 --- a/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/Version.java +++ b/java-vmmigration/google-cloud-vmmigration/src/main/java/com/google/cloud/vmmigration/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vmmigration:current} - static final String VERSION = "1.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vmwareengine/.OwlBot-hermetic.yaml b/java-vmwareengine/.OwlBot-hermetic.yaml index af0b8fd8bdd0..ee8f825d06a2 100644 --- a/java-vmwareengine/.OwlBot-hermetic.yaml +++ b/java-vmwareengine/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-vmwareengine/samples/snippets/generated" deep-preserve-regex: +- "/java-vmwareengine/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-vmwareengine/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-vmwareengine/README.md b/java-vmwareengine/README.md index d8739f51f604..801cc01b2cdb 100644 --- a/java-vmwareengine/README.md +++ b/java-vmwareengine/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vmwareengine - 0.82.0 + 0.83.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vmwareengine:0.82.0' +implementation 'com.google.cloud:google-cloud-vmwareengine:0.83.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.82.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vmwareengine" % "0.83.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vmwareengine/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vmwareengine.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.82.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vmwareengine/0.83.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/stub/Version.java b/java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/stub/Version.java index 415704e0d37f..ab211f5259f3 100644 --- a/java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/stub/Version.java +++ b/java-vmwareengine/google-cloud-vmwareengine/src/main/java/com/google/cloud/vmwareengine/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vmwareengine:current} - static final String VERSION = "0.83.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-vpcaccess/README.md b/java-vpcaccess/README.md index 2c081e6f528f..47bb93b74385 100644 --- a/java-vpcaccess/README.md +++ b/java-vpcaccess/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-vpcaccess - 2.89.0 + 2.90.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-vpcaccess:2.89.0' +implementation 'com.google.cloud:google-cloud-vpcaccess:2.90.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.89.0" +libraryDependencies += "com.google.cloud" % "google-cloud-vpcaccess" % "2.90.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-vpcaccess/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-vpcaccess.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.89.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-vpcaccess/2.90.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-vpcaccess/google-cloud-vpcaccess/src/main/java/com/google/cloud/vpcaccess/v1/stub/Version.java b/java-vpcaccess/google-cloud-vpcaccess/src/main/java/com/google/cloud/vpcaccess/v1/stub/Version.java index d7d688b6578a..63ce84568bcd 100644 --- a/java-vpcaccess/google-cloud-vpcaccess/src/main/java/com/google/cloud/vpcaccess/v1/stub/Version.java +++ b/java-vpcaccess/google-cloud-vpcaccess/src/main/java/com/google/cloud/vpcaccess/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-vpcaccess:current} - static final String VERSION = "2.90.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-webrisk/.OwlBot-hermetic.yaml b/java-webrisk/.OwlBot-hermetic.yaml index 7f801e5c7740..eb1d3c5e4095 100644 --- a/java-webrisk/.OwlBot-hermetic.yaml +++ b/java-webrisk/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-webrisk/google-.*/src" deep-preserve-regex: +- "/java-webrisk/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-webrisk/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-webrisk/README.md b/java-webrisk/README.md index d8a7732580bc..f241ab758102 100644 --- a/java-webrisk/README.md +++ b/java-webrisk/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-webrisk - 2.87.0 + 2.88.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-webrisk:2.87.0' +implementation 'com.google.cloud:google-cloud-webrisk:2.88.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.87.0" +libraryDependencies += "com.google.cloud" % "google-cloud-webrisk" % "2.88.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-webrisk/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-webrisk.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.87.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-webrisk/2.88.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1/stub/Version.java b/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1/stub/Version.java index a19981c7f6b8..fd9834d8929b 100644 --- a/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1/stub/Version.java +++ b/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-webrisk:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/stub/Version.java b/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/stub/Version.java index bfad144a0f61..d15448f69d4d 100644 --- a/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/stub/Version.java +++ b/java-webrisk/google-cloud-webrisk/src/main/java/com/google/cloud/webrisk/v1beta1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-webrisk:current} - static final String VERSION = "2.88.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-websecurityscanner/.OwlBot-hermetic.yaml b/java-websecurityscanner/.OwlBot-hermetic.yaml index a25ab3d02e70..a098b620f171 100644 --- a/java-websecurityscanner/.OwlBot-hermetic.yaml +++ b/java-websecurityscanner/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-websecurityscanner/google-.*/src" deep-preserve-regex: +- "/java-websecurityscanner/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-websecurityscanner/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" - "/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/it/v1beta/VPCServiceControlNegativeTest.java" - "/java-websecurityscanner/google-cloud-websecurityscanner/src/test/java/com/google/cloud/websecurityscanner/it/v1beta/VPCServiceControlPositiveTest.java" diff --git a/java-websecurityscanner/README.md b/java-websecurityscanner/README.md index db316c1b8726..7810675a478d 100644 --- a/java-websecurityscanner/README.md +++ b/java-websecurityscanner/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-websecurityscanner - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-websecurityscanner:2.88.0' +implementation 'com.google.cloud:google-cloud-websecurityscanner:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-websecurityscanner" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-websecurityscanner/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-websecurityscanner.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-websecurityscanner/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/stub/Version.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/stub/Version.java index ce30a204cf41..46c30a48c03c 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/stub/Version.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-websecurityscanner:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/Version.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/Version.java index 7f630eba1da7..cef1b8704c0a 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/Version.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1alpha/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-websecurityscanner:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/stub/Version.java b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/stub/Version.java index fe451db15904..c6ff37cccf24 100644 --- a/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/stub/Version.java +++ b/java-websecurityscanner/google-cloud-websecurityscanner/src/main/java/com/google/cloud/websecurityscanner/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-websecurityscanner:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workflow-executions/.OwlBot-hermetic.yaml b/java-workflow-executions/.OwlBot-hermetic.yaml index d8b8d244bec6..a2df55e52868 100644 --- a/java-workflow-executions/.OwlBot-hermetic.yaml +++ b/java-workflow-executions/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-workflow-executions/samples/snippets/generated" deep-preserve-regex: +- "/java-workflow-executions/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-workflow-executions/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index 0a489d4978a3..3704ce910417 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflow-executions - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.88.0' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workflow-executions/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/Version.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/Version.java index 8f032f8dbd03..af5e04b3e4f1 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/Version.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workflow-executions:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/Version.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/Version.java index 94d8dcf06efb..203ea6c5252b 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/Version.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workflow-executions:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workflows/README.md b/java-workflows/README.md index 3498b205fa92..9d808a7fdf1a 100644 --- a/java-workflows/README.md +++ b/java-workflows/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workflows - 2.88.0 + 2.89.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workflows:2.88.0' +implementation 'com.google.cloud:google-cloud-workflows:2.89.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.88.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workflows" % "2.89.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workflows/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflows.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.88.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflows/2.89.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1/stub/Version.java b/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1/stub/Version.java index 6e3f8d099ab1..7b090ba6c42b 100644 --- a/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1/stub/Version.java +++ b/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workflows:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/stub/Version.java b/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/stub/Version.java index 092600c9b892..f7de0471f3f1 100644 --- a/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/stub/Version.java +++ b/java-workflows/google-cloud-workflows/src/main/java/com/google/cloud/workflows/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workflows:current} - static final String VERSION = "2.89.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workloadmanager/.OwlBot-hermetic.yaml b/java-workloadmanager/.OwlBot-hermetic.yaml index 1364caa0df74..9e5731b44041 100644 --- a/java-workloadmanager/.OwlBot-hermetic.yaml +++ b/java-workloadmanager/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-workloadmanager/samples/snippets/generated" deep-preserve-regex: +- "/java-workloadmanager/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-workloadmanager/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-workloadmanager/README.md b/java-workloadmanager/README.md index efd0a33f3117..1765866197ac 100644 --- a/java-workloadmanager/README.md +++ b/java-workloadmanager/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workloadmanager - 0.4.0 + 0.5.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workloadmanager:0.4.0' +implementation 'com.google.cloud:google-cloud-workloadmanager:0.5.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workloadmanager" % "0.4.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workloadmanager" % "0.5.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workloadmanager.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadmanager/0.4.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workloadmanager/0.5.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workloadmanager/google-cloud-workloadmanager/src/main/java/com/google/cloud/workloadmanager/v1/stub/Version.java b/java-workloadmanager/google-cloud-workloadmanager/src/main/java/com/google/cloud/workloadmanager/v1/stub/Version.java index c06a30d35a0c..a9558b8eceb6 100644 --- a/java-workloadmanager/google-cloud-workloadmanager/src/main/java/com/google/cloud/workloadmanager/v1/stub/Version.java +++ b/java-workloadmanager/google-cloud-workloadmanager/src/main/java/com/google/cloud/workloadmanager/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workloadmanager:current} - static final String VERSION = "0.5.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workspaceevents/.OwlBot-hermetic.yaml b/java-workspaceevents/.OwlBot-hermetic.yaml index f2cc87916975..0caa887261b3 100644 --- a/java-workspaceevents/.OwlBot-hermetic.yaml +++ b/java-workspaceevents/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-workspaceevents/samples/snippets/generated" deep-preserve-regex: +- "/java-workspaceevents/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-workspaceevents/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-workspaceevents/README.md b/java-workspaceevents/README.md index 3f015be2d4bc..d6f871ae4eea 100644 --- a/java-workspaceevents/README.md +++ b/java-workspaceevents/README.md @@ -45,20 +45,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workspaceevents - 0.52.0 + 0.53.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workspaceevents:0.52.0' +implementation 'com.google.cloud:google-cloud-workspaceevents:0.53.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.52.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workspaceevents" % "0.53.0" ``` ## Authentication @@ -181,7 +181,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workspaceevents/latest/overview [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workspaceevents.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.52.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workspaceevents/0.53.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1/stub/Version.java b/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1/stub/Version.java index 92c96bcb052c..a37d06d65df3 100644 --- a/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1/stub/Version.java +++ b/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workspaceevents:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1beta/stub/Version.java b/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1beta/stub/Version.java index 20a96ca97096..5f04a4686ba1 100644 --- a/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1beta/stub/Version.java +++ b/java-workspaceevents/google-cloud-workspaceevents/src/main/java/com/google/apps/events/subscriptions/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workspaceevents:current} - static final String VERSION = "0.53.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workstations/.OwlBot-hermetic.yaml b/java-workstations/.OwlBot-hermetic.yaml index 0fd9d510a317..0e8cb3823f7f 100644 --- a/java-workstations/.OwlBot-hermetic.yaml +++ b/java-workstations/.OwlBot-hermetic.yaml @@ -20,6 +20,7 @@ deep-remove-regex: - "/java-workstations/samples/snippets/generated" deep-preserve-regex: +- "/java-workstations/google-.*/src/main/java/com/google/cloud/.*/v.*/stub/Version.java" - "/java-workstations/google-.*/src/test/java/com/google/cloud/.*/v.*/it/IT.*Test.java" deep-copy-regex: diff --git a/java-workstations/README.md b/java-workstations/README.md index f0cb1f0234b7..8a944989e9af 100644 --- a/java-workstations/README.md +++ b/java-workstations/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-workstations - 0.76.0 + 0.77.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-workstations:0.76.0' +implementation 'com.google.cloud:google-cloud-workstations:0.77.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.76.0" +libraryDependencies += "com.google.cloud" % "google-cloud-workstations" % "0.77.0" ``` ## Authentication @@ -175,7 +175,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-workstations/latest/overview [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workstations.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.76.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workstations/0.77.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/stub/Version.java b/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/stub/Version.java index 327e1454d333..3dad83150838 100644 --- a/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/stub/Version.java +++ b/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workstations:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} } diff --git a/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1beta/stub/Version.java b/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1beta/stub/Version.java index 1ec0d6c40845..aa0141103dcf 100644 --- a/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1beta/stub/Version.java +++ b/java-workstations/google-cloud-workstations/src/main/java/com/google/cloud/workstations/v1beta/stub/Version.java @@ -21,7 +21,7 @@ @InternalApi("For internal use only") final class Version { // {x-version-update-start:google-cloud-workstations:current} - static final String VERSION = "0.77.0"; + static final String VERSION = "0.0.0-SNAPSHOT"; // {x-version-update-end} }